aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/io.c
diff options
context:
space:
mode:
authorGravatar Dylan Simon <dylan@dylex.net>2011-09-11 22:19:55 -0400
committerGravatar Dylan Simon <dylan@dylex.net>2011-09-11 22:19:55 -0400
commit23dbcac12ebfd4391132dd27e646fcf892108502 (patch)
tree48aa130f58cef323016bcafa83da5caeeda71e4c /src/io.c
parentd2b8f3353d6dcec90a77a89861d69f95f9d3e2fa (diff)
Fix some quoting woes
- Avoid buffer overrun in split_quoted with trailing backslash (!) - Properly quote COMMAND_EXECUTED arguments - Remove unused and misleading parse_command function
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index 062a853..3574e7e 100644
--- a/src/io.c
+++ b/src/io.c
@@ -129,6 +129,7 @@ control_stdin(GIOChannel *gio, GIOCondition condition) {
parse_cmd_line(ctl_line, result);
g_free(ctl_line);
+ if (*result->str)
puts(result->str);
g_string_free(result, TRUE);