From 0bbca7bc2749c140d1b603f872e36dfcc274ad3c Mon Sep 17 00:00:00 2001 From: John Jones Date: Mon, 27 Feb 2017 12:26:38 -0500 Subject: [PATCH] Small comment change --- multiaddr.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/multiaddr.c b/multiaddr.c index f2d5558..b6716b6 100644 --- a/multiaddr.c +++ b/multiaddr.c @@ -179,7 +179,12 @@ int multiaddress_encapsulate(struct MultiAddress* result, char* string) return 1; } -// not sure what this does +/** + * Find scri and remove it from the resultant value + * (ie /ip4/127.0.0.1/tcp/4001 becomes ip4/127.0.0.1 when you call decapsulate(addr, "/tcp") + * @param result the address to work with + * @param srci the string to look for + */ int multiaddress_decapsulate(struct MultiAddress * result, char * srci) { if(result!=NULL && srci!=NULL)