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

be KISS

parent f4c661ef
No related branches found
No related tags found
No related merge requests found
......@@ -19,17 +19,13 @@
int parse_clean_list(stralloc *sa, char const *str)
{
int e = 0 ;
sa->len = 0 ;
if (!auto_stra(sa, str))
goto err ;
return 0 ;
if (!sastr_clean_element(sa))
goto err ;
return 0 ;
e = 1 ;
err:
return e ;
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