diff options
Diffstat (limited to 'src/ansi.c')
-rw-r--r-- | src/ansi.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.25 2008/02/20 19:44:37 james + * @@ + * * Revision 1.24 2008/02/20 19:36:06 james * @@ * @@ -817,7 +820,7 @@ ansi_dispatch (ANSI * a, Context * c) if (!a->terminal) - return; + return 0; red = a->terminal->recv (a->terminal, buf, sizeof (buf)); if (red <= 0) |