]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bsock.c
Fix get_basename() -- rewrite
[bacula/bacula] / bacula / src / lib / bsock.c
index a6b0f4f4b8732c3cc97730178565f9ccac68d95c..2fee52365d241c5d34ca60419830af5e984f5e84 100644 (file)
@@ -811,6 +811,13 @@ int BSOCK::set_blocking()
 #endif
 }
 
+void BSOCK::set_killable(bool killable)
+{
+   if (m_jcr) {
+      m_jcr->set_killable(killable);
+   }
+}
+
 /*
  * Restores socket flags
  */
@@ -1035,7 +1042,7 @@ bool BSOCK::authenticate_director(const char *name, const char *password,
       return false;
    }
 
-  dir->stop_timer();
+   dir->stop_timer();
    Dmsg1(10, "<dird: %s", dir->msg);
    if (strncmp(dir->msg, OKhello, sizeof(OKhello)-1) != 0) {
       bsnprintf(response, response_len, _("Director at \"%s:%d\" rejected Hello command\n"),
@@ -1051,7 +1058,7 @@ bail_out:
    bsnprintf(response, response_len, _("Authorization problem with Director at \"%s:%d\"\n"
              "Most likely the passwords do not agree.\n"
              "If you are using TLS, there may have been a certificate validation error during the TLS handshake.\n"
-             "Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000 for help.\n"), 
+             "Please see " MANUAL_AUTH_URL " for help.\n"),
              dir->host(), dir->port());
    return false;
 }