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

clean the string before processing it

parent 18e94782
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,9 @@ int graph_build_service_bytree(graph_t *g, char const *tree, uint8_t what)
if (!auto_stra(&sa, mres.sa.s + mres.oneshot))
goto err ;
if (!sastr_clean_string_g(&sa, sa.s))
goto err ;
FOREACH_SASTR(&sa, pos) {
char *service = sa.s + pos ;
......
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