Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
If failure, count error message bytes in total sent.
  • Loading branch information
icculus committed Oct 6, 2008
1 parent 4c57dd0 commit 7a7461c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nph-offload.c
Expand Up @@ -856,6 +856,7 @@ static void failure_location(const char *httperr, const char *errmsg,
printf("Content-type: text/plain; charset=utf-8\r\n");
printf("\r\n");
printf("%s\n\n", errmsg);
GBytesSent += strlen(errmsg) + 2;
} // if

terminate();
Expand Down

0 comments on commit 7a7461c

Please sign in to comment.