diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-17 15:15:19 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-17 15:15:19 +0000 | 
| commit | e8c8d00ea43c204ee276bde7fb663a0f0249790f (patch) | |
| tree | a98fdef3c5885eb2eac2ba047e244b3fd3c0f800 /lib/misc.c | |
| parent | 1c3008ac0b2b29f7e14ec9b874af3277c511c7a4 (diff) | |
| parent | f9928cb319c2879a56b7280f09723b26035982d0 (diff) | |
Merging mainline.
Diffstat (limited to 'lib/misc.c')
| -rw-r--r-- | lib/misc.c | 4 | 
1 files changed, 3 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> @@ -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 ); | 
