X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fatoin.c;h=0239f822562c62b7783902e085a269cb7a3e83d2;hp=908188ee59651d33667a23c9930e5bc9207b8cee;hb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;hpb=67002f49611adb64993391b0cbf6c235f18080a4 diff --git a/src/atoin.c b/src/atoin.c index 908188e..0239f82 100644 --- a/src/atoin.c +++ b/src/atoin.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: atoin.c,v 1.6 2005-01-15 19:47:10 adam Exp $ + * $Id: atoin.c,v 1.7 2005-06-25 15:46:03 adam Exp $ */ /** @@ -29,8 +29,16 @@ int atoi_n (const char *buf, int len) { if (isdigit (*(const unsigned char *) buf)) val = val*10 + (*buf - '0'); - buf++; + buf++; } return val; } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +