From: cristy Date: Sat, 26 Jan 2013 03:01:06 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7583db7865a730d0102631d900656d4acf4512ff;p=imagemagick --- diff --git a/MagickCore/distribute-cache.c b/MagickCore/distribute-cache.c index 26087275c..402308c83 100644 --- a/MagickCore/distribute-cache.c +++ b/MagickCore/distribute-cache.c @@ -715,9 +715,9 @@ static MagickBooleanType WriteDistributeCacheMetacontent( return(MagickFalse); metacontent=GetAuthenticMetacontent(image); count=dpc_read(file,length,metacontent); + status=SyncAuthenticPixels(image,exception); if (count != (MagickOffsetType) length) return(MagickFalse); - status=SyncAuthenticPixels(image,exception); return(status); } @@ -775,9 +775,9 @@ static MagickBooleanType WriteDistributeCachePixels(SplayTreeInfo *registry, if (q == (Quantum *) NULL) return(MagickFalse); count=dpc_read(file,length,(unsigned char *) q); + status=SyncAuthenticPixels(image,exception); if (count != (MagickOffsetType) length) return(MagickFalse); - status=SyncAuthenticPixels(image,exception); return(status); }