#include "bacula.h"
#include "dird.h"
-/* External variables */
-extern const char *list_pool; /* in sql_cmds.c */
-
/* Imported functions */
void update_slots(UAContext *ua);
POOL_MEM query(PM_MESSAGE);
if (!is_yesno(val, &recycle)) {
bsendmsg(ua, _("Invalid value. It must be yes or no.\n"));
- return;
+ return;
}
Mmsg(query, "UPDATE Media SET Recycle=%d WHERE MediaId=%s",
recycle, edit_int64(mr->MediaId, ed1));
POOL_MEM query(PM_MESSAGE);
if (!is_yesno(val, &InChanger)) {
bsendmsg(ua, _("Invalid value. It must be yes or no.\n"));
- return;
+ return;
}
Mmsg(query, "UPDATE Media SET InChanger=%d WHERE MediaId=%s",
InChanger, edit_int64(mr->MediaId, ed1));