Postpone the setting of c->sru_mode until after leading options from
authorMike Taylor <mike@indexdata.com>
Thu, 30 Nov 2006 17:07:50 +0000 (17:07 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 30 Nov 2006 17:07:50 +0000 (17:07 +0000)
commit31de2e747e8aab81f5de5867e237ec1f0eda5f62
tree51a0261997f8e916d8cbec66509b50c053a63fcf
parenta4524953b83ee8bf3b0c17bc760fa4c2d72bf235
Postpone the setting of c->sru_mode until after leading options from
host string have been applied.  This means that host strings like the
following now work correctly in specifying the use of SRU or SRW
respectively:
sru=get,http:z3950.loc.gov:7090/Voyager
sru=soap,http:z3950.loc.gov:7090/Voyager
(Previously, these options were set too late to have any effect.)
src/zoom-c.c