diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2004-09-09 22:24:08 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2004-09-09 22:24:08 +0000 |
commit | b3fd00fc2346bf226a3420849aa492459a6e3552 (patch) | |
tree | 4e572295a688a999b9a9d2f90d505ad37211e3d0 | |
parent | 1484e17ce1b85526457176688d6f093d91955ee7 (diff) | |
download | weechat-b3fd00fc2346bf226a3420849aa492459a6e3552.zip |
Removed debug message
-rw-r--r-- | src/irc/irc-dcc.c | 4 | ||||
-rw-r--r-- | weechat/src/irc/irc-dcc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/irc/irc-dcc.c b/src/irc/irc-dcc.c index a8063cf8a..e5404e5de 100644 --- a/src/irc/irc-dcc.c +++ b/src/irc/irc-dcc.c @@ -35,6 +35,7 @@ #include "../common/weechat.h" #include "irc.h" #include "../common/weeconfig.h" +#include "../common/hotlist.h" #include "../gui/gui.h" @@ -124,7 +125,6 @@ dcc_accept (t_dcc *ptr_dcc) { ptr_dcc->status = DCC_ACTIVE; ptr_home = getenv ("HOME"); - gui_printf (NULL, "home = %s\n", ptr_home); ptr_dcc->local_filename = (char *) malloc (strlen (cfg_dcc_download_path) + strlen (ptr_dcc->nick) + strlen (ptr_dcc->filename) + @@ -143,7 +143,7 @@ dcc_accept (t_dcc *ptr_dcc) } else strcpy (ptr_dcc->local_filename, cfg_dcc_download_path); - if (ptr_dcc->local_filename[strlen (ptr_dcc->local_filename) - 1] != DIR_SEPARATOR) + if (ptr_dcc->local_filename[strlen (ptr_dcc->local_filename) - 1] != DIR_SEPARATOR_CHAR) strcat (ptr_dcc->local_filename, DIR_SEPARATOR); strcat (ptr_dcc->local_filename, ptr_dcc->nick); strcat (ptr_dcc->local_filename, "."); diff --git a/weechat/src/irc/irc-dcc.c b/weechat/src/irc/irc-dcc.c index a8063cf8a..e5404e5de 100644 --- a/weechat/src/irc/irc-dcc.c +++ b/weechat/src/irc/irc-dcc.c @@ -35,6 +35,7 @@ #include "../common/weechat.h" #include "irc.h" #include "../common/weeconfig.h" +#include "../common/hotlist.h" #include "../gui/gui.h" @@ -124,7 +125,6 @@ dcc_accept (t_dcc *ptr_dcc) { ptr_dcc->status = DCC_ACTIVE; ptr_home = getenv ("HOME"); - gui_printf (NULL, "home = %s\n", ptr_home); ptr_dcc->local_filename = (char *) malloc (strlen (cfg_dcc_download_path) + strlen (ptr_dcc->nick) + strlen (ptr_dcc->filename) + @@ -143,7 +143,7 @@ dcc_accept (t_dcc *ptr_dcc) } else strcpy (ptr_dcc->local_filename, cfg_dcc_download_path); - if (ptr_dcc->local_filename[strlen (ptr_dcc->local_filename) - 1] != DIR_SEPARATOR) + if (ptr_dcc->local_filename[strlen (ptr_dcc->local_filename) - 1] != DIR_SEPARATOR_CHAR) strcat (ptr_dcc->local_filename, DIR_SEPARATOR); strcat (ptr_dcc->local_filename, ptr_dcc->nick); strcat (ptr_dcc->local_filename, "."); |