Skip to content
Snippets Groups Projects
Commit ca801c78 authored by Eric Vidal's avatar Eric Vidal 💬
Browse files

fix number of arguments if catch_log was removed

parent 27231540
No related branches found
No related tags found
No related merge requests found
......@@ -663,7 +663,8 @@ int main(int argc, char const *const *argv,char const *const *envp)
if (setenv("PATH", path, 1) == -1) sulogin("set initial PATH: ",path) ;
/** create scandir */
{
size_t nargc = 6 + catch_log ;
ncatch = !catch_log ? 1 : 0 ;
size_t nargc = 6 + ncatch ;
unsigned int m = 0 ;
char const *t[nargc] ;
......
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