]> 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)
committerMarco van Wieringen <mvw@planets.elm.net>
Tue, 3 Jan 2012 12:01:26 +0000 (13:01 +0100)
bacula/src/filed/xattr.c

index c0ed4dcc3bc3cfc11fcf4d8385b9fe74dbfd6973..a181d4123fad6d2ad7c09f3321a5508830aef3a4 100644 (file)
@@ -532,12 +532,12 @@ static bxattr_exit_code linux_xattr_build_streams(JCR *jcr, FF_PKT *ff_pkt)
             free(current_xattr);
             goto bail_out;
          }
+         break;
       }
 
       xattr_value_list->append(current_xattr);
       xattr_count++;
       bp = strchr(bp, '\0') + 1;
-      break;
    }
 
    free(xattr_list);