diff options
Diffstat (limited to 'dpip/dpip.c')
-rw-r--r-- | dpip/dpip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpip/dpip.c b/dpip/dpip.c index e1908317..f4ce1bf0 100644 --- a/dpip/dpip.c +++ b/dpip/dpip.c @@ -452,7 +452,7 @@ char *a_Dpip_dsh_read_token(Dsh *dsh, int blocking) } else if (dsh->mode & DPIP_RAW) { /* Wait for data when the buffer is empty and there's no ERR/EOF */ - while (dsh->rdbuf->len == 0 && + while (dsh->rdbuf->len == 0 && dsh->status != DPIP_ERROR && dsh->status != DPIP_EOF) Dpip_dsh_read(dsh, 1); } |