X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Foid_util.c;h=ed60edcdb66286c18948abbe9849d701de04db61;hp=6158d3cef3ac5d262def2ec6ef9782f40ecbcfe5;hb=4e500dea9790b5ff9ea4fbb3d150c358e3bd2cab;hpb=4f3bcae93d51a26709c12b51261c3d95af610cb2 diff --git a/src/oid_util.c b/src/oid_util.c index 6158d3c..ed60edc 100644 --- a/src/oid_util.c +++ b/src/oid_util.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ @@ -62,7 +62,7 @@ char *oid_oid_to_dotstring(const Odr_oid *oid, char *oidbuf) int i; oidbuf[0] = '\0'; - for (i = 0; oid[i] != -1 && i < OID_SIZE; i++) + for (i = 0; oid[i] != -1 && i < OID_SIZE; i++) { yaz_snprintf(tmpbuf, sizeof(tmpbuf)-1, "%d", oid[i]); if (i > 0)