]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix mutex lockup
authorKern Sibbald <kern@sibbald.com>
Thu, 28 Jun 2007 09:38:28 +0000 (09:38 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 28 Jun 2007 09:38:28 +0000 (09:38 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5111 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/reserve.c

index de2732daf823d7cd0a76d2e3b41376ade607828a..1485111ca8325ec263701786c64d8e1d32681c97 100644 (file)
@@ -1484,7 +1484,7 @@ static void queue_reserve_message(JCR *jcr)
       }
       /* Comparison based on 4 digit message number */
       if (strncmp(msg, jcr->errmsg, 4) == 0) {
-         return;
+         goto bail_out;
       }
    }      
    /* Message unique, so insert it */