aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_hosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r--src/testbed/testbed_api_hosts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c
index 8a66f172e..2593f5ff8 100644
--- a/src/testbed/testbed_api_hosts.c
+++ b/src/testbed/testbed_api_hosts.c
@@ -486,13 +486,13 @@ GNUNET_TESTBED_hosts_load_from_file (const char *filename,
486 { 486 {
487 data[offset] = '\0'; 487 data[offset] = '\0';
488 ret = 488 ret =
489 SSCANF (buf, "%255[a-zA-Z0-9_]@%255[a-zA-Z0-9.-]:%5hd", username, 489 SSCANF (buf, "%255[a-zA-Z0-9_]@%255[.a-zA-Z0-9-]:%5hd", username,
490 hostname, &port); 490 hostname, &port);
491 if (3 == ret) 491 if (3 == ret)
492 { 492 {
493 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 493 LOG (GNUNET_ERROR_TYPE_DEBUG,
494 "Successfully read host %s, port %d and user %s from file\n", 494 "Successfully read host %s, port %d and user %s from file\n",
495 hostname, port, username); 495 hostname, port, username);
496 /* We store hosts in a static list; hence we only require the starting 496 /* We store hosts in a static list; hence we only require the starting
497 * host pointer in that list to access the newly created list of hosts */ 497 * host pointer in that list to access the newly created list of hosts */
498 if (NULL == starting_host) 498 if (NULL == starting_host)