summaryrefslogtreecommitdiff
path: root/src/communications.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/communications.c')
-rw-r--r--src/communications.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/communications.c b/src/communications.c
index 0a0194d..8b6cd66 100644
--- a/src/communications.c
+++ b/src/communications.c
@@ -89,7 +89,7 @@ recieve_command_result (Window w)
True, XA_STRING, &type_ret, &format_ret, &nitems,
&bytes_after, &result) == Success)
{
- if (result)
+ if (result && strlen (result))
{
printf ("%s\n", result);
}