about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-08-02 17:53:09 +0000
committerMarco Peereboom <marco@conformal.com>2011-08-02 17:53:09 +0000
commit35be6cfebbcb5510f793d624bbbc184c17cdb18b (patch)
treec35c07e46b31d0ca969757dc7ae6bc7d10e6a9ec
parentc219d768952e7692e35320935840a2b1da7d6d05 (diff)
downloadxombrero-35be6cfebbcb5510f793d624bbbc184c17cdb18b.tar.gz
Fix socket code that raphael broke and obviously didn't test.
Exhibit A:
1.400        (rgraf    18-Jun-11):              return (FALSE);
-rw-r--r--xxxterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 5499104..71e6c14 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -8740,7 +8740,7 @@ socket_watcher(GIOChannel *source, GIOCondition condition, gpointer data)
 
 	n = recv(s, str, sizeof(str), 0);
 	if (n <= 0)
-		return (FALSE);
+		return (TRUE);
 
 	tt = TAILQ_LAST(&tabs, tab_list);
 	cmd_execute(tt, str);