Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> --- sheep/store.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sheep/store.c b/sheep/store.c index 05e4ace..a7c7e3b 100644 --- a/sheep/store.c +++ b/sheep/store.c @@ -1279,7 +1279,7 @@ next: close(fd); - if (ret < 0) { + if (ret != 0) { eprintf("%"PRIu32"\n", rsp->result); goto err; } -- 1.7.2.5 |