]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix ACL code
authorKern Sibbald <kern@sibbald.com>
Sat, 12 Jun 2004 19:11:34 +0000 (19:11 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 12 Jun 2004 19:11:34 +0000 (19:11 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1417 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/backup.c

index 7f745aac9170046c5677668307c74250d26b5c7c..5cdc25b9e6e53aeccf7566ea4f44ca7aaf3f36e8 100644 (file)
@@ -518,7 +518,7 @@ static int save_file(FF_PKT *ff_pkt, void *vjcr)
       
       /* Send the buffer to the storage deamon */
       sd->msg = acl_text;
-      sd->msglen = strlen(acl_text);
+      sd->msglen = strlen(acl_text) + 1;
       if(!bnet_send(sd)) {
         sd->msg = msgsave;
         sd->msglen = 0;