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

peace of mind len of sa to zero

parent 58773ea0
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ int backup_realpath_sym(stralloc *sa, ssexec_t *info,unsigned int type)
r = scan_mode(sym,S_IFDIR) ;
if(r <= 0) return 0 ;
sa->len = 0 ;
r = sarealpath(sa,sym) ;
if (r < 0 ) return 0 ;
if (!stralloc_0(sa)) retstralloc(0,"find_current") ;
......
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