aboutsummaryrefslogtreecommitdiff
path: root/src/escrow/escrow_api.c
diff options
context:
space:
mode:
authorjospaeth <spaethj@in.tum.de>2020-09-03 11:13:46 +0200
committerjospaeth <spaethj@in.tum.de>2020-09-03 11:13:46 +0200
commitc6fd8f93675ef986184c9a93183e3d7767a4b8ed (patch)
tree5fc3cccd5cc68793b1cfa025150584c70244cab9 /src/escrow/escrow_api.c
parent649777acbf64d2c80c5af67408b2c0f7a959c377 (diff)
downloadgnunet-c6fd8f93675ef986184c9a93183e3d7767a4b8ed.tar.gz
gnunet-c6fd8f93675ef986184c9a93183e3d7767a4b8ed.zip
fix anchor string parsing
Diffstat (limited to 'src/escrow/escrow_api.c')
-rw-r--r--src/escrow/escrow_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/escrow/escrow_api.c b/src/escrow/escrow_api.c
index 10faed90b..bf712d3de 100644
--- a/src/escrow/escrow_api.c
+++ b/src/escrow/escrow_api.c
@@ -455,6 +455,7 @@ GNUNET_ESCROW_anchor_string_to_data (const char *anchorString)
455 455
456 anchorStringCopy = GNUNET_strdup (anchorString); 456 anchorStringCopy = GNUNET_strdup (anchorString);
457 anchor = NULL; 457 anchor = NULL;
458 methodString = egoNameString = anchorDataString = NULL;
458 459
459 /* parse and decode method */ 460 /* parse and decode method */
460 ptr = strtok (anchorStringCopy, delimiter); 461 ptr = strtok (anchorStringCopy, delimiter);