[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tftp

Diff for /src/usr.bin/tftp/main.c between version 1.39 and 1.40

version 1.39, 2015/11/11 01:12:10 version 1.40, 2016/03/16 15:41:11
Line 716 
Line 716 
                 c = getcmd(arg);                  c = getcmd(arg);
                 if (c == (struct cmd *) - 1)                  if (c == (struct cmd *) - 1)
                         printf("?Ambiguous help command %s\n", arg);                          printf("?Ambiguous help command %s\n", arg);
                 else if (c == (struct cmd *)0)                  else if (c == NULL)
                         printf("?Invalid help command %s\n", arg);                          printf("?Invalid help command %s\n", arg);
                 else                  else
                         printf("%s\n", c->help);                          printf("%s\n", c->help);

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40