]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix #3308 where a SMTP problem can block the director
authorEric Bollengier <eric@baculasystems.com>
Wed, 16 Nov 2011 09:51:27 +0000 (10:51 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:13 +0000 (14:50 +0200)
bacula/src/lib/message.c

index 3c5984e240ccb349d3e1d242bccb87b0e61b5eda..1b9fef94089eb639b0c0d8b5d7dd006f4190f6d4 100644 (file)
@@ -834,7 +834,7 @@ void dispatch_message(JCR *jcr, int type, utime_t mtime, char *msg)
                       delivery_error(_("Msg delivery error: fopen %s failed: ERR=%s\n"), name,
                             be.bstrerror());
                       free_pool_memory(name);
-                      V(fides_mutex);
+                      msgs->clear_in_use();
                       break;
                    }
                    d->mail_filename = name;