]> git.sur5r.net Git - bacula/bacula/commitdiff
Apply tray-monitor patch from Bastian Friedrich to make it
authorKern Sibbald <kern@sibbald.com>
Wed, 15 Oct 2008 10:07:10 +0000 (10:07 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 15 Oct 2008 10:07:10 +0000 (10:07 +0000)
     work with the new FD.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7806 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/tray-monitor/authenticate.c
bacula/technotes-2.5

index 427c45682da1fe2739e041e1978c549472ecbfd0..2735111a3181feb3376d51bbaf0c7ec4cf0ebadf 100644 (file)
@@ -194,7 +194,7 @@ int authenticate_file_daemon(JCR *jcr, MONITOR *monitor, CLIENT* client)
    }
    Dmsg1(110, "<stored: %s", fd->msg);
    stop_bsock_timer(tid);
-   if (strncmp(fd->msg, FDOKhello, sizeof(FDOKhello)) != 0) {
+   if (strncmp(fd->msg, FDOKhello, sizeof(FDOKhello)-1) != 0) {
       Jmsg(jcr, M_FATAL, 0, _("File daemon rejected Hello command\n"));
       return 0;
    }
index 57c9ad0c85918955b41e2f59ac3430616f109f6a..96bdcde97b32e6124ceaf3823f3479ba74bf28ab 100644 (file)
@@ -17,6 +17,9 @@ dbdriver
 remove reader/writer in FOPTS????
 
 General:
+15Oct08
+kes  Apply tray-monitor patch from Bastian Friedrich to make it
+     work with the new FD.
 14Oct08
 kes  Apply cleanup patch from Marco
 kes  Apply patch from  Marco van Wieringen <mvw@planets.elm.net>