From: Kern Sibbald Date: Mon, 10 Sep 2018 10:57:43 +0000 (+0200) Subject: Tweak correct some comments X-Git-Tag: Release-9.4.0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ca6ebec196c3bfca146fa56b1d6f629543ab74b;p=thirdparty%2Fbacula.git Tweak correct some comments --- diff --git a/bacula/src/stored/fd_cmds.c b/bacula/src/stored/fd_cmds.c index 21314d6a7c..04e253cf36 100644 --- a/bacula/src/stored/fd_cmds.c +++ b/bacula/src/stored/fd_cmds.c @@ -141,12 +141,13 @@ void run_job(JCR *jcr) append_end_session(jcr); } else if (jcr->is_JobType(JT_MIGRATE) || jcr->is_JobType(JT_COPY)) { jcr->session_opened = true; - /* send "3000 OK data" now to avoid a dead lock, the other side is also - * waiting for one. The old peace of code was reading the "3000 OK" reply + /* + * Send "3000 OK data" now to avoid a dead lock, the other side is also + * waiting for one. The old code was reading the "3000 OK" reply * at the end of the backup (not really appropriate). - * dedup need duplex communication with the other side and need the - * "3000 OK" to be out of the socket, and be handle here by the right - * peace of code */ + * dedup needs duplex communication with the other side and needs the + * "3000 OK" to be read, which is handled here by the code below. + */ Dmsg0(215, "send OK_data\n"); jcr->file_bsock->fsend(OK_data); jcr->is_ok_data_sent = true; diff --git a/bacula/src/stored/job.c b/bacula/src/stored/job.c index 412e86bfe7..02a659df19 100644 --- a/bacula/src/stored/job.c +++ b/bacula/src/stored/job.c @@ -236,7 +236,7 @@ bool run_cmd(JCR *jcr) memset(jcr->sd_auth_key, 0, strlen(jcr->sd_auth_key)); if (jcr->authenticated && !job_canceled(jcr)) { - Dmsg2(800, "Running jid=%d %p\n", jcr->JobId, jcr); + Dmsg2(050, "Running jid=%d %p\n", jcr->JobId, jcr); run_job(jcr); /* Run the job */ } Dmsg2(800, "Done jid=%d %p\n", jcr->JobId, jcr);