- Timestamp:
- 2006-03-21T08:36:10Z (19 years ago)
- Branches:
- master
- Children:
- 9b8efab
- Parents:
- 87b6a3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r87b6a3e r7b07dc6 306 306 { 307 307 va_list params; 308 char text[1024], buf[1024], acc_id[33];308 char text[1024], buf[1024], *acc_id; 309 309 char *msg; 310 310 account_t *a; … … 331 331 /* If we found one, add the screenname to the acc_id. */ 332 332 if( a ) 333 g_snprintf( acc_id, 32,"%s(%s)", gc->prpl->name, gc->username );333 acc_id = g_strdup_printf( "%s(%s)", gc->prpl->name, gc->username ); 334 334 else 335 g_snprintf( acc_id, 32, "%s",gc->prpl->name );335 acc_id = g_strdup( gc->prpl->name ); 336 336 337 337 irc_usermsg( gc->irc, "%s - %s", acc_id, msg ); 338 339 g_free( acc_id ); 338 340 } 339 341
Note: See TracChangeset
for help on using the changeset viewer.