gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r20459 - gnunet/src/peerinfo-tool


From: gnunet
Subject: [GNUnet-SVN] r20459 - gnunet/src/peerinfo-tool
Date: Mon, 12 Mar 2012 13:56:54 +0100

Author: grothoff
Date: 2012-03-12 13:56:54 +0100 (Mon, 12 Mar 2012)
New Revision: 20459

Modified:
   gnunet/src/peerinfo-tool/gnunet-peerinfo.c
Log:
-fix

Modified: gnunet/src/peerinfo-tool/gnunet-peerinfo.c
===================================================================
--- gnunet/src/peerinfo-tool/gnunet-peerinfo.c  2012-03-12 12:51:41 UTC (rev 
20458)
+++ gnunet/src/peerinfo-tool/gnunet-peerinfo.c  2012-03-12 12:56:54 UTC (rev 
20459)
@@ -514,6 +514,8 @@
     ctx->ret = GNUNET_SYSERR;
     return 0;
   }
+  ctx->pos++;
+  memset (&expiration_time, 0, sizeof (expiration_time));
   tname = strptime (ctx->pos,
                    "%Y%m%d%H%M%S",
                    &expiration_time);
@@ -772,6 +774,7 @@
       fprintf (stderr,
               _("Invalid URI `%s'\n"),
               put_uri);    
+    GNUNET_free (put_uri);
     put_uri = NULL;
     return;
   }




reply via email to

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