Ignore:
Timestamp:
May 9, 2011, 12:55:18 AM (10 years ago)
Author:
Sam Hocevar
Message:

tool: fix a crash in abuse-tool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/tool/abuse-tool.cpp

    r585 r615  
    7777        break;
    7878    case CMD_PUT:
    79         minargc = 5;
     79        minargc = 6;
    8080        break;
    8181    case CMD_MOVE:
     
    9696        break;
    9797    case CMD_PUTPCX:
    98         minargc = 5;
     98        minargc = 6;
    9999        break;
    100100    }
     
    102102    if (argc < minargc)
    103103    {
    104         fprintf(stderr, "abuse-tool: too few arguments to command `%s'\n",
     104        fprintf(stderr, "abuse-tool: too few arguments for command `%s'\n",
    105105                         argv[2]);
    106106        return EXIT_FAILURE;
Note: See TracChangeset for help on using the changeset viewer.