aboutsummaryrefslogtreecommitdiffstats
path: root/lib/misc.c
diff options
context:
space:
mode:
authorSven Moritz Hallberg <pesco@khjk.org>2010-06-03 12:41:03 +0200
committerSven Moritz Hallberg <pesco@khjk.org>2010-06-03 12:41:03 +0200
commit5f8ab6a9adf09ea7c07f728227bdb6d3953588f1 (patch)
tree1b708f624d5ee996217055aec11490f06024efca /lib/misc.c
parent3f81999c20852f14a5fb27a6ef6c5ea44db61a4d (diff)
parentf9928cb319c2879a56b7280f09723b26035982d0 (diff)
merge in bitlbee 1.2.5
Diffstat (limited to 'lib/misc.c')
-rw-r--r--lib/misc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/misc.c b/lib/misc.c
index a00f2c2f..07928608 100644
--- a/lib/misc.c
+++ b/lib/misc.c
@@ -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>
@@ -45,6 +46,7 @@
#include <resolv.h>
#endif
+#include "md5.h"
#include "ssl_client.h"
void strip_linefeed(gchar *text)
@@ -531,7 +533,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 );