From: Marco van Wieringen Date: Tue, 3 Jan 2012 11:58:30 +0000 (+0100) Subject: Fix bug #1806 failure to save second and more xattr. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef41a3bab60679baa8fa5d0c0554a74365fdb908;p=bacula%2Fbacula Fix bug #1806 failure to save second and more xattr. --- diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index ac364dd10f..c2bd304cd5 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -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);