From 616f76a80bddfe11ac639ac6dd4f95b15105145f Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 20 Oct 2012 23:53:44 +0000 Subject: [PATCH] --- MagickCore/blob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/blob.c b/MagickCore/blob.c index ea4add4a5..643680279 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -2788,7 +2788,7 @@ MagickExport ssize_t ReadBlob(Image *image,const size_t length, count=0; if (errno != EINTR) { - i=(-1); + i=0; break; } } @@ -4058,7 +4058,7 @@ MagickExport ssize_t WriteBlob(Image *image,const size_t length, count=0; if (errno != EINTR) { - i=(-1); + i=0; break; } } -- 2.40.0