mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
fix some possible errors
This commit is contained in:
@@ -124,6 +124,7 @@ int my_system(int argc, const char *arg, ...)
|
||||
if (i == argv_max)
|
||||
{
|
||||
fprintf(stderr, "my_system: too many arguments!\n");
|
||||
va_end(args);
|
||||
return -1;
|
||||
}
|
||||
argv[i] = va_arg(args, const char *);
|
||||
|
Reference in New Issue
Block a user