comparison src/protocols/oscar/oscar.c @ 4761:3dba207a83cd

[gaim-migrate @ 5078] It's bad when you're writing something for school and you try to use debug_printf instead of printf. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 14 Mar 2003 04:40:19 +0000
parents 1762496d502a
children d3afaf6ce177
comparison
equal deleted inserted replaced
4760:a979ce8ec806 4761:3dba207a83cd
2864 2864
2865 if (bi) { 2865 if (bi) {
2866 char *caps = caps_string(bi->caps); 2866 char *caps = caps_string(bi->caps);
2867 char *time = asctime(localtime(&bi->signon)); 2867 char *time = asctime(localtime(&bi->signon));
2868 *(strchr(time, '\n')) = '\0'; 2868 *(strchr(time, '\n')) = '\0';
2869 debug_printf("caps_string of %d is %s\n", bi->caps, caps);
2869 return g_strdup_printf(_("<b>Online Since:</b> %s%s%s"), 2870 return g_strdup_printf(_("<b>Online Since:</b> %s%s%s"),
2870 time, 2871 time,
2871 caps ? _("\n<b>Capabilities:</b> ") : "", caps ? caps : ""); 2872 caps ? _("\n<b>Capabilities:</b> ") : "", caps ? caps : "");
2872 } else { 2873 } else {
2873 return NULL; 2874 return NULL;