1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

Moved content of src/common/log.c to src/gui/gui-log.c, log.c is now used for WeeChat log file

This commit is contained in:
Sebastien Helleu
2006-05-20 09:45:02 +00:00
parent 1bc71392c4
commit 0eea93bba3
50 changed files with 686 additions and 544 deletions
+5 -5
View File
@@ -30,11 +30,12 @@
#include "weechat.h"
#include "command.h"
#include "fifo.h"
#include "log.h"
#include "session.h"
#include "utf8.h"
#include "weelist.h"
#include "weeconfig.h"
#include "session.h"
#include "fifo.h"
#include "utf8.h"
#include "../irc/irc.h"
#include "../gui/gui.h"
@@ -3872,8 +3873,7 @@ weechat_cmd_upgrade (t_irc_server *server, t_irc_channel *channel,
(void) config_write (NULL);
gui_main_end ();
fifo_remove ();
if (weechat_log_file)
fclose (weechat_log_file);
weechat_log_close ();
execvp (exec_args[0], exec_args);