gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r3237 - in GNUnet/src: applications/fs/tools include


From: grothoff
Subject: [GNUnet-SVN] r3237 - in GNUnet/src: applications/fs/tools include
Date: Mon, 14 Aug 2006 19:33:40 -0700 (PDT)

Author: grothoff
Date: 2006-08-14 19:33:38 -0700 (Mon, 14 Aug 2006)
New Revision: 3237

Modified:
   GNUnet/src/applications/fs/tools/gnunet-insert.c
   GNUnet/src/include/gnunet_util_getopt.h
Log:
sync

Modified: GNUnet/src/applications/fs/tools/gnunet-insert.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-insert.c    2006-08-15 02:31:40 UTC 
(rev 3236)
+++ GNUnet/src/applications/fs/tools/gnunet-insert.c    2006-08-15 02:33:38 UTC 
(rev 3237)
@@ -560,7 +560,8 @@
  * @param argv command line arguments
  * @return return 0 for ok, -1 on error
  */
-int main(int argc, char ** argv) {
+int main(int argc, 
+        const char ** argv) {
   int i;
   char * pname;
   char * filename;
@@ -634,7 +635,9 @@
                            "%Y-%m-%d",
 #endif
                            &t))) {
-       LOG_STRERROR(LOG_FATAL, "strptime");
+       GE_LOG_STRERROR(ectx,
+                       LOG_FATAL, 
+                       "strptime");
         errexit(_("Parsing time failed. Use `%s' format.\n"),
 #if ENABLE_NLS
                nl_langinfo(D_T_FMT)

Modified: GNUnet/src/include/gnunet_util_getopt.h
===================================================================
--- GNUnet/src/include/gnunet_util_getopt.h     2006-08-15 02:31:40 UTC (rev 
3236)
+++ GNUnet/src/include/gnunet_util_getopt.h     2006-08-15 02:33:38 UTC (rev 
3237)
@@ -163,7 +163,7 @@
  * Set the configuration option for increasing verbosity.
  */
 #define COMMAND_LINE_OPTION_VERBOSE \
-  { 'V', "verbose", NULL, gettext_noop("be verbose"), 1, 
&gnunet_getopt_configure_increment_value, "1" }
+  { 'V', "verbose", NULL, gettext_noop("be verbose"), 1, 
&gnunet_getopt_configure_increment_value, "GNUNET:VERBOSE" }
 
 /**
  * Set the configuration option for the configuration file.





reply via email to

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