/[weechat]/weechat/src/irc/irc-dcc.c
ViewVC logotype

Diff of /weechat/src/irc/irc-dcc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by flashcode, Tue Jul 12 17:05:02 2005 UTC revision 1.19 by flashcode, Tue Jul 12 17:17:37 2005 UTC
# Line 182  dcc_close (t_irc_dcc *ptr_dcc, int statu Line 182  dcc_close (t_irc_dcc *ptr_dcc, int statu
182            
183      ptr_dcc->status = status;      ptr_dcc->status = status;
184            
185      if (status == DCC_DONE)      if ((status == DCC_DONE) || (status == DCC_ABORTED) || (status == DCC_FAILED))
186      {      {
187          if (DCC_IS_FILE(ptr_dcc->type))          if (DCC_IS_FILE(ptr_dcc->type))
188          {          {
# Line 205  dcc_close (t_irc_dcc *ptr_dcc, int statu Line 205  dcc_close (t_irc_dcc *ptr_dcc, int statu
205                                COLOR_WIN_CHAT_NICK,                                COLOR_WIN_CHAT_NICK,
206                                "%s",                                "%s",
207                                ptr_dcc->nick);                                ptr_dcc->nick);
208              gui_printf (ptr_dcc->server->buffer, _(": ok!\n"));              gui_printf (ptr_dcc->server->buffer,
209                            (status == DCC_DONE) ? _(": ok!\n") : _(": FAILED\n"));
210          }          }
211      }      }
212      if (status == DCC_ABORTED)      if (status == DCC_ABORTED)

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26