X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=client%2Fclient.c;h=ade869ec4cb9410e1a89559630540506c8c09197;hp=f7190a2f9ba9d84835672e13d9fd4252c822acaa;hb=012d51aa722c887a9227a0c345c9663500486acc;hpb=de7e9019dfe1a48e9bae5563152bed76075b850b diff --git a/client/client.c b/client/client.c index f7190a2..ade869e 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.278 2005-05-06 12:18:26 adam Exp $ + * $Id: client.c,v 1.279 2005-05-08 22:53:59 adam Exp $ */ #include @@ -1287,7 +1287,7 @@ static char *encode_SRW_term(ODR o, const char *q) yaz_iconv_t cd; char *res; if (outputCharset) - in_charset = in_charset; + in_charset = outputCharset; cd = yaz_iconv_open("UTF-8", in_charset); if (!cd) {