From: Michal Rakowski Date: Mon, 6 Sep 2021 10:03:33 +0000 (+0200) Subject: Fix #8126 About strange ouput for the .status client command X-Git-Tag: Release-11.0.6~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cee473ab3b57d85ff406b401b9a1151bd11f66d;p=thirdparty%2Fbacula.git Fix #8126 About strange ouput for the .status client command --- diff --git a/bacula/src/lib/status.h b/bacula/src/lib/status.h index f82d5c38e..6bb3d5446 100644 --- a/bacula/src/lib/status.h +++ b/bacula/src/lib/status.h @@ -176,8 +176,6 @@ static void list_terminated_jobs(STATUS_PKT *sp) OT_END_OBJ, OT_END); sendit(p, strlen(p), sp); - - } else { bsnprintf(buf, sizeof(buf), _("%6d %-6s %8s %10s %-7s %-8s %s\n"), je->JobId, @@ -186,8 +184,8 @@ static void list_terminated_jobs(STATUS_PKT *sp) edit_uint64_with_suffix(je->JobBytes, b2), termstat, dt, JobName); + sendit(buf, strlen(buf), sp); } - sendit(buf, strlen(buf), sp); } unlock_last_jobs_list(); if (!sp->api) {