]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/attr.c
o fix : restore a crypted stream on a fd witch doen't define keys cause
[bacula/bacula] / bacula / src / lib / attr.c
index 2e30a11b62ceea322176ea3a05d4ca99a43e01e6..34a0088d94b595bf685cbe74ee290452c52f5950 100644 (file)
@@ -103,6 +103,7 @@ int unpack_attributes_record(JCR *jcr, int32_t stream, char *rec, ATTR *attr)
    return 1;
 }
 
+#if defined(HAVE_WIN32)
 static void strip_double_slashes(char *fname)
 {
    char *p = fname;
@@ -116,6 +117,7 @@ static void strip_double_slashes(char *fname)
       }
    }
 }
+#endif
 
 /*
  * Build attr->ofname from attr->fname and