X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn-encoding.c;h=412a85dcb297117d0801b07d85de3ead26667155;hp=d0c56306698bbe599900073690a127e4e06c8a3a;hb=b71a0ddbd570f5163ede198d635c3b03abd3e27e;hpb=abf280d5bd5648817135c487a19941b2ef4b0701 diff --git a/src/ngircd/conn-encoding.c b/src/ngircd/conn-encoding.c index d0c56306..412a85dc 100644 --- a/src/ngircd/conn-encoding.c +++ b/src/ngircd/conn-encoding.c @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors. + * Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,25 +20,21 @@ * Functions to deal with character encodings and conversions */ -#include "imp.h" #include #include #include +#include -#include "defines.h" #include "conn.h" -#include "log.h" - -#include "exp.h" -#include "conn-encoding.h" #ifdef ICONV -char Encoding_Buffer[COMMAND_LEN]; +#include "log.h" +#include "conn-encoding.h" +char Encoding_Buffer[COMMAND_LEN]; char *Convert_Message PARAMS((iconv_t Handle, char *Message)); - /** * Set client character encoding on a connection. * @@ -133,7 +129,7 @@ Convert_Message(iconv_t Handle, char *Message) return Encoding_Buffer; } -#endif +#endif /* ICONV */ /** * Convert encoding of a message received from a connection.