diff options
Diffstat (limited to 'src/communications.c')
-rw-r--r-- | src/communications.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/communications.c b/src/communications.c index 51da24a..8c86b60 100644 --- a/src/communications.c +++ b/src/communications.c @@ -75,7 +75,7 @@ receive_command_result (Window w) /* If result is not the empty string, print it. */ if (strlen ((char *)result)) { - if (result[1] == '0') + if (result[0] == '1') printf ("%s\n", &result[1]); else fprintf (stderr, "%s\n", &result[1]); |