]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Tweak correct some comments
authorKern Sibbald <kern@sibbald.com>
Mon, 10 Sep 2018 10:57:43 +0000 (12:57 +0200)
committerKern Sibbald <kern@sibbald.com>
Mon, 10 Sep 2018 10:57:43 +0000 (12:57 +0200)
bacula/src/stored/fd_cmds.c
bacula/src/stored/job.c

index 21314d6a7c81951bee736bd2525cf2756acbf06f..04e253cf3678e48204c7ff97cc9e5f0e324c5852 100644 (file)
@@ -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;
index 412e86bfe7c1d17e8a9fe1138ed9eb7c3c462c01..02a659df19aefa83b637d0f4bab6509501ba8f7c 100644 (file)
@@ -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);