aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-22 22:54:56 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-22 22:54:56 +0000
commite42f4ea1e1a754236530dbfe16afaef90a6ce9f2 (patch)
tree2ced27d3c89f30d39d14dca414f53eb6da40b646 /src/testing
parentf47576188a1c3a05ba14acf046f9923026ef1d1f (diff)
downloadgnunet-e42f4ea1e1a754236530dbfe16afaef90a6ce9f2.tar.gz
gnunet-e42f4ea1e1a754236530dbfe16afaef90a6ce9f2.zip
fix
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index b4f8c8100..11d42206f 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -837,7 +837,7 @@ GNUNET_TESTING_peer_configure (struct GNUNET_TESTING_System *system,
837 { 837 {
838 GNUNET_asprintf (&emsg_, 838 GNUNET_asprintf (&emsg_,
839 _("Failed to create configuration for peer (not enough free ports?)\n")); 839 _("Failed to create configuration for peer (not enough free ports?)\n"));
840 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s", *emsg_); 840 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s", emsg_);
841 if (NULL != emsg) 841 if (NULL != emsg)
842 *emsg = emsg_; 842 *emsg = emsg_;
843 else 843 else
@@ -863,7 +863,7 @@ GNUNET_TESTING_peer_configure (struct GNUNET_TESTING_System *system,
863 GNUNET_asprintf (&emsg_, 863 GNUNET_asprintf (&emsg_,
864 _("Failed to initialize hostkey for peer %u\n"), 864 _("Failed to initialize hostkey for peer %u\n"),
865 (unsigned int) key_number); 865 (unsigned int) key_number);
866 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s", *emsg_); 866 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s", emsg_);
867 if (NULL != emsg) 867 if (NULL != emsg)
868 *emsg = emsg_; 868 *emsg = emsg_;
869 else 869 else
@@ -897,7 +897,7 @@ GNUNET_TESTING_peer_configure (struct GNUNET_TESTING_System *system,
897 _("Failed to write hostkey file for peer %u: %s\n"), 897 _("Failed to write hostkey file for peer %u: %s\n"),
898 (unsigned int) key_number, 898 (unsigned int) key_number,
899 STRERROR (errno)); 899 STRERROR (errno));
900 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s", *emsg_); 900 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s", emsg_);
901 if (NULL != emsg) 901 if (NULL != emsg)
902 *emsg = emsg_; 902 *emsg = emsg_;
903 else 903 else
@@ -916,7 +916,7 @@ GNUNET_TESTING_peer_configure (struct GNUNET_TESTING_System *system,
916 config_filename, 916 config_filename,
917 (unsigned int) key_number, 917 (unsigned int) key_number,
918 STRERROR (errno)); 918 STRERROR (errno));
919 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s", *emsg_); 919 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "%s", emsg_);
920 if (NULL != emsg) 920 if (NULL != emsg)
921 *emsg = emsg_; 921 *emsg = emsg_;
922 else 922 else