From: Eric Bollengier Date: Fri, 24 Aug 2007 07:08:07 +0000 (+0000) Subject: ebl Fix a bug in read_close_session which return random status X-Git-Tag: Release-7.0.0~5793 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=70fff10e63960128cd3af5c459a3788dbd1ea6ec;p=bacula%2Fbacula ebl Fix a bug in read_close_session which return random status git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5400 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/fd_cmds.c b/bacula/src/stored/fd_cmds.c index a120fd689b..8bbddbcd31 100644 --- a/bacula/src/stored/fd_cmds.c +++ b/bacula/src/stored/fd_cmds.c @@ -399,7 +399,7 @@ static bool read_close_session(JCR *jcr) return false; } /* Send final statistics to File daemon */ - bnet_fsend(fd, OK_close); + bnet_fsend(fd, OK_close, jcr->JobStatus); Dmsg1(160, ">filed: %s\n", fd->msg); bnet_sig(fd, BNET_EOD); /* send EOD to File daemon */ diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 30360e6578..7c6f3a12cc 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -1,6 +1,9 @@ Technical notes on version 2.3 General: +24Aug07 +ebl Fix a bug in read_close_session which return random status + thanks to James Harper 23Aug07 kes Fix (hopefully) bug #930 by doing a db_escape_string() on file and directory names during restore of single file/directories.