Filter multi: simple refactor
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 14 Feb 2011 12:41:38 +0000 (13:41 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 14 Feb 2011 12:41:38 +0000 (13:41 +0100)
src/filter_multi.cpp

index 06cbb52..1165cbd 100644 (file)
@@ -417,9 +417,10 @@ void yf::Multi::Frontend::init(mp::Package &package, Z_GDU *gdu)
         mp::util::set_vhost_otherinfo(&init_apdu->u.initRequest->otherInfo,
                                        odr, vhost_one);
 
-        init_apdu->u.initRequest->idAuthentication = req->idAuthentication;
 
         Z_InitRequest *breq = init_apdu->u.initRequest;
+
+        breq->idAuthentication = req->idAuthentication;
         
         ODR_MASK_SET(breq->options, Z_Options_search);
         ODR_MASK_SET(breq->options, Z_Options_present);