/*
- * $Id: zoom-c.c,v 1.30 2002-05-19 15:39:54 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.
*/
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);
if (p)
{
- char *charset, *lang;
+ char *charset=NULL, *lang=NULL;
int selected;
yaz_get_response_charneg(tmpmem, p, &charset, &lang, &selected);