diff options
Diffstat (limited to 'ax25/axgetput/util.c')
-rw-r--r-- | ax25/axgetput/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/axgetput/util.c b/ax25/axgetput/util.c index f20937f..5501035 100644 --- a/ax25/axgetput/util.c +++ b/ax25/axgetput/util.c @@ -62,7 +62,7 @@ int my_read(int fd, char *s, int len_max, int *eof, char *p_break) * len = 0: normal eof. if we're looking for a string, return -1 since * we have'nt found */ - return (len == 0 && p_break ? -1 : (len_got ? len_got : len)); + return len == 0 && p_break ? -1 : (len_got ? len_got : len); } len_got += len; |