]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix compilation bug by adding #ifdef HAVE_LIBZ
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 21 Dec 2006 12:53:48 +0000 (12:53 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 21 Dec 2006 12:53:48 +0000 (12:53 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3840 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/restore.c

index 846efa4e225e84c0cd364ce331b2a86ad92e2821..e7d0f1bfde16432b6826512a0cc44f62267dc850 100644 (file)
@@ -742,6 +742,7 @@ ok_out:
 
 }
 
+#ifdef HAVE_LIBZ
 /*
  * Convert ZLIB error code into an ASCII message
  */
@@ -767,6 +768,7 @@ static const char *zlib_strerror(int stat)
       return _("*none*");
    }
 }
+#endif
 
 static int do_file_digest(FF_PKT *ff_pkt, void *pkt, bool top_level) 
 {