Issue information

Issue ID
#2600
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 28, 2008 21:51
Last Post
Hercules Elf Bot
Dec 28, 2008 21:51
Confirmation
N/A

Hercules Elf Bot - Dec 28, 2008 21:51

Originally posted by [b]Vayu[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2600

sscanf problem

CODE
int atcommand_adjcmdlvl(const int fd, struct map_session_data* sd, const char* command, const char* message)
{
    int newlev, newremotelev;
    char name[100];
    AtCommandInfo* cmd;

    nullpo_retr(-1, sd);

    if (!message || !*message || sscanf(message, "%d %d %99s", &newlev, &newremotelev, name) != 2)      <<<<<<<<< HERE


This post has been edited by Vayu: Dec 28 2008, 01:52 PM