From ef41a3bab60679baa8fa5d0c0554a74365fdb908 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Tue, 3 Jan 2012 12:58:30 +0100 Subject: [PATCH] Fix bug #1806 failure to save second and more xattr. --- bacula/src/filed/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5