Skip to content

Commit

Permalink
server: Added several trace messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
nniro committed Apr 18, 2014
1 parent b473e3d commit e3cee1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ packet_handler(NNET_SLAVE *conn, const char *data, u32 len)
{
case 0:
{
TRACE("PktAsm_Process -- needs more data");
return 0;
}
break;
Expand All @@ -392,6 +393,7 @@ packet_handler(NNET_SLAVE *conn, const char *data, u32 len)

case 2:
{
TRACE("PktAsm_Process -- There is more data than expected in the packet");
handleNextData = 1;
}
break;
Expand Down Expand Up @@ -663,7 +665,10 @@ packet_handler(NNET_SLAVE *conn, const char *data, u32 len)
NNet_SetData(conn, current);
}
else
{
TRACE(Neuro_s("The Client tried to access a currently inactive session %d", connect->layer));
_err += 1;
}
}
else
{
Expand Down

0 comments on commit e3cee1a

Please sign in to comment.