From: Eric Bollengier Date: Mon, 27 Oct 2008 19:07:04 +0000 (+0000) Subject: ebl small tweak X-Git-Tag: Release-2.4.4~52 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=083dd7c08da3e05b4f44cf32f592cef9e20f9938;p=bacula%2Fbacula ebl small tweak git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.4@7919 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/patches/2.4.3-update-slots.patch b/bacula/patches/2.4.3-update-slots.patch index 0e019e3617..fb29cd6a6b 100644 --- a/bacula/patches/2.4.3-update-slots.patch +++ b/bacula/patches/2.4.3-update-slots.patch @@ -36,7 +36,7 @@ Index: src/cats/sql_update.c + mr->Slot, + edit_int64(mr->StorageId, ed1), edit_int64(mr->MediaId, ed2)); + -+ } else if (*mr->VolumeName) { ++ } else if (mr->VolumeName[0]) { /* We have a volume name */ + Mmsg(mdb->cmd, "UPDATE Media SET InChanger=0 WHERE " + "Slot=%d AND StorageId=%s AND VolumeName!='%s'", + mr->Slot,