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

useless commit

parent 2f1ad383
No related branches found
No related tags found
No related merge requests found
...@@ -34,9 +34,8 @@ ...@@ -34,9 +34,8 @@
int instance_check(char const *svname) int instance_check(char const *svname)
{ {
int r ; int r ;
size_t len = strlen(svname) ;
r = get_len_until(svname,'@') ; r = get_len_until(svname,'@') ;
// len == r avoid empty value after the instance template name // avoid empty value after the instance template name
if (strlen(svname+r) <= 1 && r > 0) return 0 ; if (strlen(svname+r) <= 1 && r > 0) return 0 ;
return r ; return r ;
......
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