projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55fe718
)
-atoo
author
Nils Durner
<durner@gnunet.org>
Tue, 16 Jun 2009 22:09:33 +0000
(22:09 +0000)
committer
Nils Durner
<durner@gnunet.org>
Tue, 16 Jun 2009 22:09:33 +0000
(22:09 +0000)
src/util/disk.c
patch
|
blob
|
history
diff --git
a/src/util/disk.c
b/src/util/disk.c
index 2722dda71df81465b96fa937a3e321fa57d1a332..011bd8a8db7cc1046467457694c55fabd96e5c4b 100644
(file)
--- a/
src/util/disk.c
+++ b/
src/util/disk.c
@@
-488,22
+488,6
@@
GNUNET_DISK_fn_read (const char * const fn, void *result, int len)
}
-/**
- * Convert string to value ('755' for chmod-call)
- */
-static int
-atoo (const char *s)
-{
- int n = 0;
-
- while (('0' <= *s) && (*s < '8'))
- {
- n <<= 3;
- n += *s++ - '0';
- }
- return n;
-}
-
/**
* Write a buffer to a file.
* @param h handle to open file