From: Adam Dickmeiss Date: Tue, 21 May 2002 19:39:57 +0000 (+0000) Subject: Fix warning X-Git-Tag: YAZ.1.8.7~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=5f20d0ca24f3ab6ff9cc5c1532760782387d038e;p=yaz-moved-to-github.git Fix warning --- diff --git a/zoom/zoom-c.c b/zoom/zoom-c.c index f2f5be7..27ae6f9 100644 --- a/zoom/zoom-c.c +++ b/zoom/zoom-c.c @@ -1,5 +1,5 @@ /* - * $Id: zoom-c.c,v 1.31 2002-05-20 09:13:39 oleg Exp $ + * $Id: zoom-c.c,v 1.32 2002-05-21 19:39:57 adam Exp $ * * ZOOM layer for C, connections, result sets, queries. */ @@ -729,7 +729,7 @@ static int ZOOM_connection_send_init (ZOOM_connection c) yaz_oi_APDU(apdu, &oi); - if (oi_unit = yaz_oi_update(oi, c->odr_out, NULL, 0, 0)) + if ((oi_unit = yaz_oi_update(oi, c->odr_out, NULL, 0, 0))) { ODR_MASK_SET(ireq->options, Z_Options_negotiationModel);