X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fatoin.c;h=d7104d9d46b4cd394a33f29780862704eb134d3c;hb=ee2000792b8f11a3ada8b3cd7f197ac6c7fa7d67;hp=908188ee59651d33667a23c9930e5bc9207b8cee;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/src/atoin.c b/src/atoin.c index 908188e..d7104d9 100644 --- a/src/atoin.c +++ b/src/atoin.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. - * - * $Id: atoin.c,v 1.6 2005-01-15 19:47:10 adam Exp $ */ /** @@ -29,8 +27,17 @@ 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 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +