mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
This commit is contained in:
parent
5d294f0ad2
commit
adc46ef907
23 changed files with 335 additions and 337 deletions
|
|
@ -1882,13 +1882,13 @@ bool ChatHandler::HandleSendMailCommand(const char* args)
|
|||
// get from tail next item str
|
||||
while(char* itemStr = strtok(tail, " "))
|
||||
{
|
||||
// and get new tail
|
||||
// and get new tail
|
||||
tail = strtok(NULL, "");
|
||||
|
||||
// parse item str
|
||||
char* itemIdStr = strtok(itemStr, ":");
|
||||
char* itemCountStr = strtok(NULL, " ");
|
||||
|
||||
|
||||
uint32 item_id = atoi(itemIdStr);
|
||||
if(!item_id)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue