BSOCK *fd;
POOL_DBR pr;
FILESET_DBR fsr;
+ STORE *store;
since[0] = 0;
get_level_since_time(jcr, since, sizeof(since));
- jcr->fname = (char *)get_pool_memory(PM_FNAME);
+ jcr->fname = get_pool_memory(PM_FNAME);
/*
* Get the Pool record -- first apply any level defined pools
/*
* send Storage daemon address to the File daemon
*/
- if (jcr->store->SDDport == 0) {
- jcr->store->SDDport = jcr->store->SDport;
+ store = (STORE *)jcr->storage[0]->first();
+ if (store->SDDport == 0) {
+ store->SDDport = store->SDport;
}
- bnet_fsend(fd, storaddr, jcr->store->address, jcr->store->SDDport,
- jcr->store->enable_ssl);
+ bnet_fsend(fd, storaddr, store->address, store->SDDport,
+ store->enable_ssl);
if (!response(jcr, fd, OKstore, "Storage", DISPLAY_ERROR)) {
goto bail_out;
}