Changeset 0b3ffb1
- Timestamp:
- 2010-05-19T19:46:43Z (15 years ago)
- Branches:
- master
- Children:
- 907afe1
- Parents:
- 2334048
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r2334048 r0b3ffb1 154 154 { 155 155 char *start = in; 156 char *out = g_malloc( strlen( in ) + 1 );156 char out[strlen(in)+1]; 157 157 char *s = out, *cs; 158 158 int i, matched; 159 159 160 memset( out, 0, s trlen( in ) + 1);160 memset( out, 0, sizeof( out ) ); 161 161 162 162 while( *in ) … … 220 220 221 221 strcpy( start, out ); 222 g_free( out );223 222 } 224 223 -
protocols/twitter/twitter.c
r2334048 r0b3ffb1 180 180 twitter_connections = g_slist_append( twitter_connections, ic ); 181 181 ic->proto_data = td; 182 ic->flags |= OPT_DOES_HTML;183 182 184 183 td->user = acc->user; -
protocols/twitter/twitter_lib.c
r2334048 r0b3ffb1 434 434 twitter_add_buddy(ic, status->user->screen_name, status->user->name); 435 435 436 strip_html(status->text); 437 436 438 // Say it! 437 439 if (g_strcasecmp(td->user, status->user->screen_name) == 0) … … 471 473 status = l->data; 472 474 475 strip_html( status->text ); 473 476 if( mode_one ) 474 477 text = g_strdup_printf( "\002<\002%s\002>\002 %s",
Note: See TracChangeset
for help on using the changeset viewer.