fixed comments

This commit is contained in:
Todd C. Miller
1995-09-01 04:50:07 +00:00
parent d47330a7b3
commit eaf845fd2c

4
sudo.c
View File

@@ -483,7 +483,7 @@ static int parse_args()
#else #else
if (Argc < 2) /* no options and no command */ if (Argc < 2) /* no options and no command */
usage(1); usage(1);
#endif #endif /* SHELL_IF_NO_ARGS */
while (Argc > 1 && Argv[1][0] == '-') { while (Argc > 1 && Argv[1][0] == '-') {
if (Argv[1][1] != '\0' && Argv[1][2] != '\0') { if (Argv[1][1] != '\0' && Argv[1][2] != '\0') {
@@ -696,7 +696,7 @@ static void load_cmnd(sudo_mode)
} }
*(pos - 1) = '\0'; *(pos - 1) = '\0';
/* Let's not be wasteful with our memory */ /* Let's not be wasteful with our memory... */
if ((pos = realloc(cmnd_args, args_size - args_remainder))) if ((pos = realloc(cmnd_args, args_size - args_remainder)))
cmnd_args = pos; cmnd_args = pos;
} }