diff options
Diffstat (limited to 'core/uemis-downloader.c')
-rw-r--r-- | core/uemis-downloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uemis-downloader.c b/core/uemis-downloader.c index 18aa2451b..2d208087e 100644 --- a/core/uemis-downloader.c +++ b/core/uemis-downloader.c @@ -603,7 +603,7 @@ static bool uemis_get_answer(const char *path, char *request, int n_param_in, free(ans_path); return false; } - if (read(ans_file, tmp, 100) < 0) { + if (read(ans_file, tmp, 100) < 3) { free(ans_path); close(ans_file); return false; |