MEDIA_DBR mr, sdmr;
JOBMEDIA_DBR jm;
char Job[MAX_NAME_LENGTH];
+ int64_t PoolId;
int index, ok, label, writing;
POOLMEM *omsg;
/*
* Find next appendable medium for SD
*/
- if (sscanf(bs->msg, Find_media, &Job, &index, &mr.PoolId) == 3) {
+ if (sscanf(bs->msg, Find_media, &Job, &index, &PoolId) == 3) {
+ mr.PoolId = PoolId;
ok = find_next_volume_for_append(jcr, &mr, true /*permit create new vol*/);
/*
* Send Find Media response to Storage daemon
for (;;) {
n = bnet_recv(bs);
- Dmsg2(900, "bget_dirmsg %d: %s\n", n, bs->msg);
+ Dmsg2(900, "bget_dirmsg %d: %s", n, bs->msg);
if (is_bnet_stop(bs)) {
return n; /* error or terminate */
MSGS *msgs;
BPIPE *bpipe;
- Dmsg2(850, "Enter dispatch_msg type=%d msg=%s\n", type, msg);
+ Dmsg2(850, "Enter dispatch_msg type=%d msg=%s", type, msg);
/*
* Most messages are prefixed by a date and time. If mtime is
/* */
#undef VERSION
#define VERSION "1.37.6"
-#define BDATE "10 March 2005"
-#define LSMDATE "10Mar05"
+#define BDATE "11 March 2005"
+#define LSMDATE "11Mar05"
/* Debug flags */
#undef DEBUG