From 220682c1bc12404f981f3ca74ce349342c3e4b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 3 Apr 2014 13:11:03 +0200 Subject: exec: fix tag stdout/stderr used in command output --- src/plugins/exec/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/exec/exec.c b/src/plugins/exec/exec.c index e032849b3..b337d6f45 100644 --- a/src/plugins/exec/exec.c +++ b/src/plugins/exec/exec.c @@ -315,7 +315,7 @@ exec_display_line (struct t_exec_cmd *exec_cmd, struct t_gui_buffer *buffer, snprintf (str_number, sizeof (str_number), "%d", exec_cmd->number); snprintf (str_tags, sizeof (str_tags), "exec_%s,exec_cmd_%s", - (out) ? "stdout" : "stderr", + (out == EXEC_STDOUT) ? "stdout" : "stderr", (exec_cmd->name) ? exec_cmd->name : str_number); if (weechat_buffer_get_integer (buffer, "type") == 1) { -- cgit v1.2.3