diff options
| author | Tom Smeding <tom.smeding@gmail.com> | 2020-07-13 22:05:47 +0200 | 
|---|---|---|
| committer | Tom Smeding <tom.smeding@gmail.com> | 2020-07-13 22:05:47 +0200 | 
| commit | 84d31554ecf6840905e18aef33ef7a195174f800 (patch) | |
| tree | e5fed28e65c9a5dd4f37c37f132036c72f6af467 | |
| parent | 98c1488dad675583cf8d851e1b6584b258e3b6e3 (diff) | |
weechat: Actually do something with the debug file name
| -rw-r--r-- | weechat/debug.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| 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) { | 
