aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2009-06-16 22:09:33 +0000
committerNils Durner <durner@gnunet.org>2009-06-16 22:09:33 +0000
commitffac21b92afd4090d9e482402438104975771234 (patch)
treea04b76eff7b17f63163efcbb7ef5f3809e6da844 /src
parent55fe7180de4f26582646418073bd52bf13bb5697 (diff)
downloadgnunet-ffac21b92afd4090d9e482402438104975771234.tar.gz
gnunet-ffac21b92afd4090d9e482402438104975771234.zip
-atoo
Diffstat (limited to 'src')
-rw-r--r--src/util/disk.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/util/disk.c b/src/util/disk.c
index 2722dda71..011bd8a8d 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -489,22 +489,6 @@ GNUNET_DISK_fn_read (const char * const fn, void *result, int len)
489 489
490 490
491/** 491/**
492 * Convert string to value ('755' for chmod-call)
493 */
494static int
495atoo (const char *s)
496{
497 int n = 0;
498
499 while (('0' <= *s) && (*s < '8'))
500 {
501 n <<= 3;
502 n += *s++ - '0';
503 }
504 return n;
505}
506
507/**
508 * Write a buffer to a file. 492 * Write a buffer to a file.
509 * @param h handle to open file 493 * @param h handle to open file
510 * @param buffer the data to write 494 * @param buffer the data to write