]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bug #1806 failure to save second and more xattr.
authorMarco van Wieringen <mvw@planets.elm.net>
Tue, 3 Jan 2012 11:58:30 +0000 (12:58 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:21 +0000 (14:50 +0200)
bacula/src/filed/xattr.c

index ac364dd10f5689c93e8c40899f79bc86e7987ad8..c2bd304cd5e670b486fd9cf491fa17ba621e94a0 100644 (file)
@@ -497,6 +497,7 @@ static bxattr_exit_code aix_xattr_build_streams(JCR *jcr, FF_PKT *ff_pkt)
                   jcr->last_fname, MAX_XATTR_STREAM);
             goto bail_out;
          }
+         break;
       }
 
       if (xattr_value_list == NULL) {
@@ -507,7 +508,6 @@ static bxattr_exit_code aix_xattr_build_streams(JCR *jcr, FF_PKT *ff_pkt)
       current_xattr = NULL;
       xattr_count++;
       bp = strchr(bp, '\0') + 1;
-      break;
    }
 
    free(xattr_list);