* Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.220 2004-01-06 09:09:13 adam Exp $
+ * $Id: client.c,v 1.222 2004-01-07 20:36:44 adam Exp $
*/
#include <stdio.h>
ret = z_soap_codec_enc(o, &p,
&gdu->u.HTTP_Request->content_buf,
&gdu->u.HTTP_Request->content_len, h,
- charset);
+ charset, 0);
if (z_GDU(out, &gdu, 0, 0))
{
printf (" schema=%s", rec->recordSchema);
printf ("\n");
if (rec->recordData_buf && rec->recordData_len)
- {
fwrite(rec->recordData_buf, 1, rec->recordData_len, stdout);
- printf ("\n");
- }
+ else
+ printf ("No data!");
+ printf("\n");
}
static void handle_srw_explain_response(Z_SRW_explainResponse *res)