Kern Sibbald wrote:
On Wednesday 08 August 2007 15:09, Allan Black wrote:
Found what I think is a (minor) bug in the find_next_volume code;
patch attached.
Could you resend your email with the diff in unified format (diff -u). I don't read the format you sent.

OK, here it is (and I'll bear that in mind in future).

Allan

--- sql_find.c.orig	Mon Nov 27 10:03:06 2006
+++ sql_find.c	Wed Aug  8 13:29:11 2007
@@ -298,7 +298,7 @@
       } else {
          changer[0] = 0;
       }
-      if (strcmp(mr->VolStatus, "Recycled") == 0 ||
+      if (strcmp(mr->VolStatus, "Recycle") == 0 ||
           strcmp(mr->VolStatus, "Purged") == 0) {
          order = "ORDER BY LastWritten ASC,MediaId";  /* take oldest */
       } else {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to