gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8591 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r8591 - gnunet/src/util
Date: Tue, 16 Jun 2009 16:09:33 -0600

Author: durner
Date: 2009-06-16 16:09:33 -0600 (Tue, 16 Jun 2009)
New Revision: 8591

Modified:
   gnunet/src/util/disk.c
Log:
-atoo

Modified: gnunet/src/util/disk.c
===================================================================
--- gnunet/src/util/disk.c      2009-06-16 22:08:40 UTC (rev 8590)
+++ gnunet/src/util/disk.c      2009-06-16 22:09:33 UTC (rev 8591)
@@ -489,22 +489,6 @@
 
 
 /**
- * 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
  * @param buffer the data to write





reply via email to

[Prev in Thread] Current Thread [Next in Thread]