X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Foid_util.c;h=ed60edcdb66286c18948abbe9849d701de04db61;hp=b54d0406a558175f7f5c9989af557a0d84097be1;hb=4e500dea9790b5ff9ea4fbb3d150c358e3bd2cab;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/src/oid_util.c b/src/oid_util.c index b54d040..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-2012 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)