]> granicus.if.org Git - postgresql/commitdiff
Fix obviously too quickly applied fix to zlib issue
authorMagnus Hagander <magnus@hagander.net>
Sun, 23 Oct 2016 14:07:31 +0000 (16:07 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 23 Oct 2016 14:07:31 +0000 (16:07 +0200)
src/bin/pg_basebackup/walmethods.c

index d28913fa69f4a5b58f6ceb82bdcfcd5d79a042c2..fe6569dff3245cd1e14d48b6d66fa01c1f1ad25b 100644 (file)
@@ -415,10 +415,11 @@ tar_write(Walfile f, const void *buf, size_t count)
                ((TarMethodFile *) f)->currpos += count;
                return count;
        }
-#endif
+#else
        else
                /* Can't happen - compression enabled with no libz */
                return -1;
+#endif
 }
 
 static bool