Commented missing implementation at path.

This commit is contained in:
Jose Marcial Vieira Bisneto 2016-12-23 00:46:31 -03:00
parent 7691fe0dc2
commit 5f22be643c

View file

@ -7,7 +7,7 @@
char* ipfs_path_from_cid (struct Cid *c) char* ipfs_path_from_cid (struct Cid *c)
{ {
const char prefix[] = "/ipfs/"; const char prefix[] = "/ipfs/";
char *rpath, *cidstr = CidString(c); char *rpath, *cidstr;// = CidString(c);
int l; int l;
l = sizeof(prefix) + strlen(cidstr); l = sizeof(prefix) + strlen(cidstr);
@ -224,7 +224,7 @@ int ipfs_path_parse_from_cid (char *dst, char *txt)
if (!txt || txt[0] == '\0') return ErrNoComponents; if (!txt || txt[0] == '\0') return ErrNoComponents;
c = cidDecode(txt); //c = cidDecode(txt);
if (!c) { if (!c) {
return ErrCidDecode; return ErrCidDecode;