gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r12787 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r12787 - gnunet/src/transport
Date: Wed, 1 Sep 2010 12:59:11 +0200

Author: wachs
Date: 2010-09-01 12:59:11 +0200 (Wed, 01 Sep 2010)
New Revision: 12787

Modified:
   gnunet/src/transport/test_plugin_transport_https.c
Log:
fixed: klocwork bug #305

Modified: gnunet/src/transport/test_plugin_transport_https.c
===================================================================
--- gnunet/src/transport/test_plugin_transport_https.c  2010-09-01 10:48:40 UTC 
(rev 12786)
+++ gnunet/src/transport/test_plugin_transport_https.c  2010-09-01 10:59:11 UTC 
(rev 12787)
@@ -1217,10 +1217,8 @@
                                                                                
           "KEY_FILE",
                                                                                
           &key_file);
   }
-  else
-  {
+  if (key_file == NULL)
          GNUNET_asprintf(&key_file,"https.key");
-  }
 
   if (0 == stat (key_file, &sbuf ))
   {
@@ -1239,10 +1237,8 @@
                                                                                
     "CERT_FILE",
                                                                                
     &cert_file);
   }
-  else
-  {
+  if (cert_file == NULL)
          GNUNET_asprintf(&cert_file,"https.cert");
-  }
 
   if (0 == stat (cert_file, &sbuf ))
   {




reply via email to

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