Don't reset reg state if register can not be opened
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 31 Oct 2011 14:17:09 +0000 (15:17 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 31 Oct 2011 14:17:09 +0000 (15:17 +0100)
commitec6ef89747394edb31aedfce9d585b5b34191154
tree003d4f8bdc3e716eb322b92c9fc3952e774419c5
parent58f263cb1cc09f9036ec9ddd5908cba56885796f
Don't reset reg state if register can not be opened

If zebra_register_open fails, do not set state back to 'o', since
it may be dirty (half transaction).
index/zebraapi.c