diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-14 17:49:24 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-14 17:49:24 +0000 |
commit | c6ca3ee33e27feefb8cae0dc1d55a7239baf43cb (patch) | |
tree | 664f9f4385637f6d79802a63f5da1dfd55741370 /lib/misc.c | |
parent | 6a78c0eed44820a2fefe1e96516e335eddc9c70b (diff) |
Some const/etc cleanups submitted by domen@coderock.org back in bug #431.
Diffstat (limited to 'lib/misc.c')
-rw-r--r-- | lib/misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,6 +33,7 @@ #define BITLBEE_CORE #include "nogaim.h" #include "base64.h" +#include "md5.h" #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -520,7 +521,7 @@ struct ns_srv_reply *srv_lookup( char *service, char *protocol, char *domain ) } /* Word wrapping. Yes, I know this isn't UTF-8 clean. I'm willing to take the risk. */ -char *word_wrap( char *msg, int line_len ) +char *word_wrap( const char *msg, int line_len ) { GString *ret = g_string_sized_new( strlen( msg ) + 16 ); |