Small comment change
This commit is contained in:
parent
7da26ca04d
commit
0bbca7bc27
1 changed files with 6 additions and 1 deletions
|
@ -179,7 +179,12 @@ int multiaddress_encapsulate(struct MultiAddress* result, char* string)
|
||||||
return 1;
|
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)
|
int multiaddress_decapsulate(struct MultiAddress * result, char * srci)
|
||||||
{
|
{
|
||||||
if(result!=NULL && srci!=NULL)
|
if(result!=NULL && srci!=NULL)
|
||||||
|
|
Loading…
Reference in a new issue