Skip to content
Snippets Groups Projects
Commit 8d779ae2 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

oops

parent a9660edb
No related branches found
No related tags found
No related merge requests found
......@@ -129,14 +129,14 @@ int sanitize_tree(stralloc *dstree, char const *base, char const *tree)
return -1 ;
}
if (!r) return 0 ;
/** we have one, keep it*/
if (!stralloc_cats(dstree,dst)) retstralloc(0,"sanitize_tree") ;
if (!stralloc_cats(dstree,"/")) retstralloc(0,"sanitize_tree") ;
if (!stralloc_cats(dstree,tree)) retstralloc(0,"sanitize_tree") ;
if (!stralloc_0(dstree)) retstralloc(0,"sanitize_tree") ;
if (!r) return 0 ;
return 1 ;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment