int status_code = atoi(code);
char tmp[256];
+#ifdef _WIN32
sprintf_s(tmp, sizeof(tmp), "%d", status_code);
+#else
+ sprintf(tmp, "%d", status_code);
+#endif
if (strcmp(code, tmp) != 0)
{
DebugLog3("error: invalid format. (Status-Code) \"%s\"\n", statusLine);