projects
/
NextIRCd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed compilation (added temporary ircd_config.h)
[NextIRCd.git]
/
src
/
ircd_client.c
diff --git
a/src/ircd_client.c
b/src/ircd_client.c
index 3ae6e50e0697c9475ef28fbd1659baba67bcfb23..57bfb3fed9287c93dc85f519c8c72295fef54d73 100644
(file)
--- a/
src/ircd_client.c
+++ b/
src/ircd_client.c
@@
-19,7
+19,7
@@
#include "ircd_sock.h"
#include "struct_connection.h"
#include "struct_auth.h"
#include "ircd_sock.h"
#include "struct_connection.h"
#include "struct_auth.h"
-#include "config.h"
+#include "
ircd_
config.h"
#include "version.h"
#include <stdio.h>
#include "version.h"
#include <stdio.h>
@@
-38,7
+38,7
@@
static void client_printf(struct Connection *conn, const char *text, ...) {
if (pos < 0 || pos > (CLIENT_MAXLEN - 2)) pos = CLIENT_MAXLEN - 2;
sendBuf[pos] = '\n';
sendBuf[pos+1] = '\0';
if (pos < 0 || pos > (CLIENT_MAXLEN - 2)) pos = CLIENT_MAXLEN - 2;
sendBuf[pos] = '\n';
sendBuf[pos+1] = '\0';
- socket_send(conn, sendBuf, pos);
+ socket_send(conn, sendBuf, pos
+1
);
}
void client_connected(struct Connection *conn) {
}
void client_connected(struct Connection *conn) {