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