]> git.sur5r.net Git - bacula/bacula/commitdiff
Fixed typo where I moved some code into the switch. This version compiles on Linux
authorMarco van Wieringen <mvw@planets.elm.net>
Sun, 5 Jul 2009 15:17:40 +0000 (17:17 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Sun, 9 Aug 2009 11:25:53 +0000 (13:25 +0200)
bacula/src/filed/xattr.c

index e64a4d3f9df1a0c0c29cd4bd946640939cd29603..0e88059e73cdf4455189320106d2c9aa7ba842db 100644 (file)
@@ -502,11 +502,11 @@ static bsub_exit_code generic_xattr_parse_streams(JCR *jcr, int stream)
        * we try to restore the other extended attributes too.
        */
       if (lsetxattr(jcr->last_fname, current_xattr.name, current_xattr.value,
+                    current_xattr.value_length, 0) != 0) {
          switch (errno) {
          case ENOENT:
             break;
          default:
-            current_xattr.value_length, 0) != 0) {
             Jmsg2(jcr, M_ERROR, 0, _("lsetxattr error on file \"%s\": ERR=%s\n"),
                jcr->last_fname, be.bstrerror());
             Dmsg2(100, "lsetxattr error file=%s ERR=%s\n",