]> git.sur5r.net Git - bacula/bacula/commitdiff
remove bnet_fsend and use class call
authorKern Sibbald <kern@sibbald.com>
Sun, 21 Jun 2009 09:47:42 +0000 (09:47 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 21 Jun 2009 09:47:42 +0000 (09:47 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8917 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/lib/message.c

index abb3c4f2eb699d45c096cf87495aedd34606bbac..39789a3848800209a0f20adcabc4b5b6b6887b24 100644 (file)
@@ -784,7 +784,7 @@ send_to_file:
              case MD_DIRECTOR:
                 Dmsg1(850, "DIRECTOR for following msg: %s", msg);
                 if (jcr && jcr->dir_bsock && !jcr->dir_bsock->errors) {
-                   bnet_fsend(jcr->dir_bsock, "Jmsg Job=%s type=%d level=%lld %s",
+                   jcr->bsock->fsend("Jmsg Job=%s type=%d level=%lld %s",
                       jcr->Job, type, mtime, msg);
                 } else {
                    Dmsg1(800, "no jcr for following msg: %s", msg);