aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-11-21 14:07:07 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-11-21 14:09:34 +0100
commitfa965a85e46e7fd7245af4c205855e4b4d76ba56 (patch)
tree9eb1d931d6664eefcfffe7f684869eea9671875a /degesch.c
parent59a4c356dd840c3c5d6f562ca85fe197f8b53b35 (diff)
downloadxK-fa965a85e46e7fd7245af4c205855e4b4d76ba56.tar.gz
xK-fa965a85e46e7fd7245af4c205855e4b4d76ba56.tar.xz
xK-fa965a85e46e7fd7245af4c205855e4b4d76ba56.zip
degesch: make /buffer with no arguments print list
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 6b32f7b..8541526 100644
--- a/degesch.c
+++ b/degesch.c
@@ -8152,7 +8152,7 @@ handle_command_buffer (struct handler_args *a)
return true;
bool result = true;
- if (!strcasecmp_ascii (action, "list"))
+ if (!*action || !strcasecmp_ascii (action, "list"))
show_buffers_list (ctx);
else if (!strcasecmp_ascii (action, "clear"))
{