sru_z3950: Only call package.log_reset if log also enabled
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 5 Dec 2011 11:27:19 +0000 (12:27 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 5 Dec 2011 11:27:19 +0000 (12:27 +0100)
commit8090a550770dd7da5d1ef7c7ff2b301902694629
treebd0eb298eff3018532e12f4c5a376e9e122f3175
parent1cdd720a9a3ba872aa092c80b28413d8b2579eed
sru_z3950: Only call package.log_reset if log also enabled

This is to ensure the log is not reset by this filter unless
also enabled by it.
src/filter_sru_to_z3950.cpp