src/server/safs/nametrans.c

changeset 651
ed74879c7041
parent 641
159172937c86
equal deleted inserted replaced
650:3e4f9cdd70b8 651:ed74879c7041
286 WSLocationConfig *config = cfg_location_match(sn, rq); 286 WSLocationConfig *config = cfg_location_match(sn, rq);
287 if(!config) { 287 if(!config) {
288 return REQ_ABORTED; 288 return REQ_ABORTED;
289 } 289 }
290 req->location = config; 290 req->location = config;
291 291
292 if(config->vfs.ptr) { 292 if(config->vfs.ptr) {
293 VFS *vfs = vfs_create(sn, rq, config->vfs.ptr, pb, NULL); 293 VFS *vfs = vfs_create(sn, rq, config->vfs.ptr, pb, NULL);
294 if(!vfs) { 294 if(!vfs) {
295 return REQ_ABORTED; 295 return REQ_ABORTED;
296 } 296 }

mercurial