Mercurial > pidgin.yaz
diff libpurple/protocols/irc/cmds.c @ 24436:4f46eb13b540
Replace spaces wth tabs in indentation and tabs with spaces in line continuations.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 23 Nov 2008 08:39:39 +0000 |
parents | bd0c0cffb644 |
children | 367570a961f0 |
line wrap: on
line diff
--- a/libpurple/protocols/irc/cmds.c Sun Nov 23 04:12:43 2008 +0000 +++ b/libpurple/protocols/irc/cmds.c Sun Nov 23 08:39:39 2008 +0000 @@ -71,7 +71,7 @@ int irc_cmd_ctcp(struct irc_conn *irc, const char *cmd, const char *target, const char **args) { /* we have defined args as args[0] is target and args[1] is ctcp command */ - char *buf; + char *buf; GString *string; /* check if we have args */ @@ -141,11 +141,11 @@ action[strlen(action) - 1] = '\0'; if (purple_conversation_get_type(convo) == PURPLE_CONV_TYPE_CHAT) serv_got_chat_in(gc, purple_conv_chat_get_id(PURPLE_CONV_CHAT(convo)), - purple_connection_get_display_name(gc), - 0, action, time(NULL)); + purple_connection_get_display_name(gc), + 0, action, time(NULL)); else purple_conv_im_write(PURPLE_CONV_IM(convo), purple_connection_get_display_name(gc), - action, 0, time(NULL)); + action, 0, time(NULL)); g_free(action); } @@ -156,7 +156,6 @@ { char *buf; - if (!args || !args[0]) return 0;