X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fircd_client.c;h=28d650baea1def84998d0c7293526d67d04f91e5;hb=c034e019f212727f6e2fbd6c824c7a965770ae28;hp=3ae6e50e0697c9475ef28fbd1659baba67bcfb23;hpb=1c8cbecb4836bafd86885d96cf59e204160927cb;p=NextIRCd.git diff --git a/src/ircd_client.c b/src/ircd_client.c index 3ae6e50..28d650b 100644 --- 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 "config.h" +#include "ircd_config.h" #include "version.h" #include @@ -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'; - socket_send(conn, sendBuf, pos); + socket_send(conn, sendBuf, pos+1); } void client_connected(struct Connection *conn) { @@ -54,7 +54,3 @@ void client_connected(struct Connection *conn) { void client_disconnected(struct Connection *conn) { } - -void client_recv(struct Connection *conn, char *line) { - -}