diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/misc.c | 4 | ||||
| -rw-r--r-- | lib/misc.h | 2 | 
2 files changed, 4 insertions, 2 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> @@ -88,6 +89,7 @@ static const htmlentity_t ent[] =  	{ "lt",     "<" },  	{ "gt",     ">" },  	{ "amp",    "&" }, +	{ "apos",   "'" },  	{ "quot",   "\"" },  	{ "aacute", "á" },  	{ "eacute", "é" }, @@ -521,7 +523,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 ); @@ -61,7 +61,7 @@ G_MODULE_EXPORT int bool2int( char *value );  G_MODULE_EXPORT struct ns_srv_reply *srv_lookup( char *service, char *protocol, char *domain ); -G_MODULE_EXPORT char *word_wrap( char *msg, int line_len ); +G_MODULE_EXPORT char *word_wrap( const char *msg, int line_len );  G_MODULE_EXPORT gboolean ssl_sockerr_again( void *ssl ); | 
