X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrwutil.c;h=a7bc8391a8243c660e23ccc51011a04ab19f4830;hb=0a1e9944179033c72f1fa9f9c13fabddc1945aeb;hp=cd89a332ef30b3ec1105e7197665db0f89615785;hpb=163abf332e441c2d39cf6ee4e83bad169fa1c59c;p=yaz-moved-to-github.git diff --git a/src/srwutil.c b/src/srwutil.c index cd89a33..a7bc839 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: srwutil.c,v 1.10 2004-01-27 12:15:12 adam Exp $ + * $Id: srwutil.c,v 1.11 2004-01-27 21:22:44 adam Exp $ */ #include @@ -135,7 +135,7 @@ void yaz_mk_std_diagnostic(ODR o, Z_SRW_diagnostic *d, int code, const char *details) { d->code = (char *) odr_malloc(o, 50); - sprintf(d->code, "info:srw/diagnostic/1/1/%d", code); + sprintf(d->code, "info:srw/diagnostic/1/%d", code); d->message = 0; if (details) d->details = odr_strdup(o, details);