1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Removed debug message

This commit is contained in:
Sebastien Helleu
2004-09-09 22:24:08 +00:00
parent 1484e17ce1
commit b3fd00fc23
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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, ".");
+2 -2
View File
@@ -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, ".");