[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24499 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24499 - gnunet/src/transport |
Date: |
Wed, 24 Oct 2012 10:56:40 +0200 |
Author: LRN
Date: 2012-10-24 10:56:40 +0200 (Wed, 24 Oct 2012)
New Revision: 24499
Modified:
gnunet/src/transport/test_plugin_transport.c
Log:
Create directory for hostkey
Modified: gnunet/src/transport/test_plugin_transport.c
===================================================================
--- gnunet/src/transport/test_plugin_transport.c 2012-10-24 08:21:14 UTC
(rev 24498)
+++ gnunet/src/transport/test_plugin_transport.c 2012-10-24 08:56:40 UTC
(rev 24499)
@@ -556,6 +556,15 @@
HOSTKEY_FILE);
}
+ if (GNUNET_OK != GNUNET_DISK_directory_create_for_file (keyfile))
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ _("Could not create a directory for hostkey `%s'.
Exiting.\n"),
+ keyfile);
+ end_badly_now ();
+ return;
+ }
+
if (GNUNET_OK != GNUNET_DISK_file_copy (HOSTKEY_FILE, keyfile))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24499 - gnunet/src/transport,
gnunet <=