Mercurial > pidgin.yaz
diff src/server.c @ 1250:b5783215b245
[gaim-migrate @ 1260]
decklin's clean up of the account editor, much needed.
indent -kr -i8 -l105 -ncs -cp7 -npcs -T GtkWidget -T gpointer -T AppletCallbackFunc -T GtkFunction -T gaim_plugin_remove -T name -T FILE -T gchar -T user_opts -T GdkEvent -T GtkObject ...
did about.c, aim.c, away.c, browser.c, buddy_chat.c, gaimrc.c, html.c, idle.c, multi.c. Need to do buddy.c, conversation.c, dialogs.c, oscar.c, perl.c, plugins.c, prefs.c, proxy.c, prpl.c, rvous.c, server.c, sound.c, toc.c, util.c. not doing gtkhtml.c because it's a piece of crap anyway, or *ticker.c because they're syd's.
got rid of debug_buff, just debug_printf now.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 13 Dec 2000 20:18:35 +0000 |
parents | a9cf2f61a7b1 |
children | 46c09828e929 |
line wrap: on
line diff
--- a/src/server.c Wed Dec 13 06:39:24 2000 +0000 +++ b/src/server.c Wed Dec 13 20:18:35 2000 +0000 @@ -412,8 +412,7 @@ } if (!b) { - sprintf(debug_buff,"Error, no such person\n"); - debug_print(debug_buff); + debug_printf("Error, no such person\n"); return; } @@ -661,8 +660,7 @@ plugin_event(event_chat_leave, g, b->name, 0, 0); - sprintf(debug_buff, "Leaving room %s.\n", b->name); - debug_print(debug_buff); + debug_printf("Leaving room %s.\n", b->name); g->buddy_chats = g_slist_remove(g->buddy_chats, b); @@ -711,10 +709,10 @@ void update_keepalive(struct gaim_connection *gc, gboolean on) { if (on && !gc->keepalive && blist) { - debug_print("allowing NOP\n"); + debug_printf("allowing NOP\n"); gc->keepalive = gtk_timeout_add(60000, (GtkFunction)send_keepalive, gc); } else if (!on && gc->keepalive > 0) { - debug_print("removing NOP\n"); + debug_printf("removing NOP\n"); gtk_timeout_remove(gc->keepalive); gc->keepalive = 0; }