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

be shorter

parent 932001bd
No related branches found
No related tags found
No related merge requests found
......@@ -129,8 +129,8 @@ int ss_state_check(char const *src, char const *name)
memcpy(tmp + srclen + 1, name, namelen) ;
tmp[srclen + 1 + namelen] = 0 ;
r = scan_mode(tmp,S_IFREG) ;
if (!r || r < 0) return 0 ;
else return 1 ;
if (r <= 0) return 0 ;
return 1 ;
}
void ss_state_setflag(ss_state_t *sta,int flags,int flags_val)
......
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