From: Eric Bollengier Date: Fri, 10 Jul 2009 20:03:15 +0000 (+0000) Subject: ebl Print correct JobId in bls, should fix #1331 X-Git-Tag: Release-3.0.2~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8b7fb932e53324d3d488e12fd6f0fa49be46a60d;p=bacula%2Fbacula ebl Print correct JobId in bls, should fix #1331 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8976 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/bls.c b/bacula/src/stored/bls.c index ac881fba80..d8149750af 100644 --- a/bacula/src/stored/bls.c +++ b/bacula/src/stored/bls.c @@ -420,6 +420,7 @@ static void get_session_record(DEVICE *dev, DEV_RECORD *rec, SESSION_LABEL *sess { const char *rtype; memset(sessrec, 0, sizeof(sessrec)); + jcr->JobId = 0; switch (rec->FileIndex) { case PRE_LABEL: rtype = _("Fresh Volume Label"); @@ -431,6 +432,7 @@ static void get_session_record(DEVICE *dev, DEV_RECORD *rec, SESSION_LABEL *sess case SOS_LABEL: rtype = _("Begin Job Session"); unser_session_label(sessrec, rec); + jcr->JobId = sessrec->JobId; break; case EOS_LABEL: rtype = _("End Job Session"); diff --git a/bacula/technotes b/bacula/technotes index 16a01a282d..b9e81e1252 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -3,6 +3,7 @@ General: 10Jul09 +ebl Print correct JobId in bls, should fix #1331 kes Apply python detect patch from Bastian Friedrich 09Jul09 kes Add --with-hostname to ./configure