projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GFS: remove member hits from bend_present_rr
[yaz-moved-to-github.git]
/
src
/
atoin.c
diff --git
a/src/atoin.c
b/src/atoin.c
index
e9b20e6
..
7460220
100644
(file)
--- a/
src/atoin.c
+++ b/
src/atoin.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (c) 1997-2004, Index Data
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: atoin.c,v 1.5 2004-12-16 08:59:56 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');
{
if (isdigit (*(const unsigned char *) buf))
val = val*10 + (*buf - '0');
- buf++;
+ buf++;
}
return val;
}
}
return val;
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+