- Z_InitResponse *init = gdu->u.z3950->u.initResponse;
- int ver = z->initResponseGetVersion(init);
- int result = init->result ? *init->result : 0;
-
- if (init->options)
- {
- int i;
- int no_set = 0;
- int no_reset = 0;
- for (i = 0; i <= 24; i++)
- if (ODR_MASK_GET(init->options, i))
- no_set++;
- else
- no_reset++;
- if (no_set < 2)
- {
- z->msg_check_fail("suspicuously few option bits set");
- return TEST_FINISHED;
- }
- if (no_reset == 0)
- {
- z->msg_check_fail("suspicuously many option bits set");
- return TEST_FINISHED;
- }
- }
- z->msg_check_ok();
+ Z_InitResponse *init = gdu->u.z3950->u.initResponse;
+
+ if (init->options)
+ {
+ int i;
+ int no_set = 0;
+ int no_reset = 0;
+ for (i = 0; i <= 24; i++)
+ if (ODR_MASK_GET(init->options, i))
+ no_set++;
+ else
+ no_reset++;
+ if (no_set < 2)
+ {
+ z->msg_check_fail("suspicuously few option bits set");
+ return TEST_FINISHED;
+ }
+ if (no_reset == 0)
+ {
+ z->msg_check_fail("suspicuously many option bits set");
+ return TEST_FINISHED;
+ }
+ }
+ z->msg_check_ok();