From 84d31554ecf6840905e18aef33ef7a195174f800 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 13 Jul 2020 22:05:47 +0200 Subject: weechat: Actually do something with the debug file name --- weechat/debug.c | 1 + 1 file changed, 1 insertion(+) (limited to 'weechat/debug.c') diff --git a/weechat/debug.c b/weechat/debug.c index 969733c..c0353da 100644 --- a/weechat/debug.c +++ b/weechat/debug.c @@ -15,6 +15,7 @@ void debug_init(void) { char *fname = malloc(strlen(home) + strlen(suffix) + 1); if (!fname) return; // okay, fine, no debug file + sprintf(fname, "%s%s", home, suffix); g_dfile = fopen(fname, "a"); if (!g_dfile) { -- cgit v1.2.3-70-g09d2