Skip to content

Commit

Permalink
Debug print to stderr.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 9, 2007
1 parent f8d3d6b commit 8146cc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/engine/portable/src/sys_master.c
Expand Up @@ -406,7 +406,7 @@ static int C_DECL N_MasterSendRequest(void *parm)
Sys_GetSeconds() - startTime > RESPONSE_TIMEOUT)
{
#ifdef _DEBUG
printf("timed out!\n", startTime);
fprintf(stderr, "timed out!\n", startTime);
#endif
break;
}
Expand All @@ -415,13 +415,13 @@ static int C_DECL N_MasterSendRequest(void *parm)
{
startTime = Sys_GetSeconds();
#ifdef _DEBUG
printf("startTime = %lf\n", startTime);
fprintf(stderr, "startTime = %lf\n", startTime);
#endif
}
if(result)
{
#ifdef _DEBUG
printf("received: >>>%s<<<\n", buf);
fprintf(stderr, "received: >>>%s<<<\n", buf);
#endif
Str_Append(&response, buf);
memset(buf, 0, sizeof(buf));
Expand Down

0 comments on commit 8146cc3

Please sign in to comment.