X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=3665ade12b789561ab8159a917e90d47af4fd4af;hb=db40cd121fcb1e7a2d25a350ce683cbe8b4687b6;hp=4cf2207707d68d04a3b60d72f75e7919f01acadf;hpb=db073edc9e7834e7f71f1fa9f76866aeb29e0421;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index 4cf2207..3665ade 100644 --- a/client/client.c +++ b/client/client.c @@ -2377,9 +2377,9 @@ static int cmd_update_common(const char *arg, int version) #if YAZ_HAVE_XML2 if (protocol == PROTO_HTTP) - return send_SRW_update(action_no, recid_buf, rec_buf, rec_len); + return send_SRW_update(action_no, recid, rec_buf, rec_len); #endif - return send_Z3950_update(version, action_no, recid_buf, rec_buf, rec_len); + return send_Z3950_update(version, action_no, recid, rec_buf, rec_len); } #if YAZ_HAVE_XML2