[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix crash on test failure
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix crash on test failure |
Date: |
Wed, 03 Apr 2019 11:08:20 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new a9b7be3aa fix crash on test failure
a9b7be3aa is described below
commit a9b7be3aa509f2912b8043fc53eb6820fcddb3e0
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Apr 3 11:03:24 2019 +0200
fix crash on test failure
---
src/gns/test_gns_proxy.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/gns/test_gns_proxy.c b/src/gns/test_gns_proxy.c
index 75fe95617..0bfd84c91 100644
--- a/src/gns/test_gns_proxy.c
+++ b/src/gns/test_gns_proxy.c
@@ -11,7 +11,7 @@
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -50,9 +50,9 @@ static int global_ret;
static struct MHD_Daemon *mhd;
-static struct GNUNET_SCHEDULER_Task * mhd_task_id;
+static struct GNUNET_SCHEDULER_Task *mhd_task_id;
-static struct GNUNET_SCHEDULER_Task * curl_task_id;
+static struct GNUNET_SCHEDULER_Task *curl_task_id;
static CURL *curl;
@@ -349,6 +349,7 @@ curl_main ()
static void
start_curl (void *cls)
{
+ curl_task_id = NULL;
GNUNET_asprintf (&url,
"https://%s:%d/hello_world",
TEST_DOMAIN, port);
@@ -391,7 +392,8 @@ commence_testing (void *cls)
{
curl_task_id =
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS,
- &start_curl, NULL);
+ &start_curl,
+ NULL);
}
@@ -561,4 +563,4 @@ main (int argc, char *const *argv)
return global_ret;
}
-/* end of test_gns_vpn.c */
+/* end of test_gns_proxy.c */
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: fix crash on test failure,
gnunet <=