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-Tag: Release-7.0.0~385 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=53c3cf8a05472161f6bb1e3c8101d28d2a6cb5e8;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);