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

resolve_read:fix it

parent 36e59db6
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ int resolve_read(stralloc *sa, char const *src, char const *svname,char const *f
size_t namelen = strlen(svname) ;
size_t filelen = strlen(file) ;
size_t newlen ;
size_t max = if (namelen > filelen) ? namelen : filelen ;
size_t max = namelen > filelen ? namelen : filelen ;
char solve[srclen + SS_RESOLVE_LEN + 1 + max + 7 + 1] ;
memcpy(solve,src,srclen) ;
......
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