forked from mirrors/tftp-hpa-google
Untabify tftpd.c
Signed-off-by: Ferenc Wagner <wferi@niif.hu> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
85029077c8
commit
5a27e30ec2
1 changed files with 4 additions and 4 deletions
|
@ -364,7 +364,7 @@ int main(int argc, char **argv)
|
||||||
srand(time(NULL) ^ getpid());
|
srand(time(NULL) ^ getpid());
|
||||||
|
|
||||||
while ((c = getopt_long(argc, argv, short_options, long_options, NULL))
|
while ((c = getopt_long(argc, argv, short_options, long_options, NULL))
|
||||||
!= -1)
|
!= -1)
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '4':
|
case '4':
|
||||||
ai_fam = AF_INET;
|
ai_fam = AF_INET;
|
||||||
|
@ -467,9 +467,9 @@ int main(int argc, char **argv)
|
||||||
case 'v':
|
case 'v':
|
||||||
verbosity++;
|
verbosity++;
|
||||||
break;
|
break;
|
||||||
case OPT_VERBOSITY:
|
case OPT_VERBOSITY:
|
||||||
verbosity = atoi(optarg);
|
verbosity = atoi(optarg);
|
||||||
break;
|
break;
|
||||||
case 'V':
|
case 'V':
|
||||||
/* Print configuration to stdout and exit */
|
/* Print configuration to stdout and exit */
|
||||||
printf("%s\n", TFTPD_CONFIG_STR);
|
printf("%s\n", TFTPD_CONFIG_STR);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue