-#ifndef NLITE_UINIT_TEST
+#ifndef NLITE_UNIT_TEST
//\83\81\83C\83\93\8aÖ\90\94
int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE,
#else
-#ifdef NLITE_UINIT_TEST
+#ifdef NLITE_UNIT_TEST
- const CString CBugReport::szHostName(TEXT("localhost"));
- const CString CBugReport::szUrlPath(TEXT("bugreport.rb"));
- const UINT_PTR CBugReport::portNo(8080);
-
+ const CString CBugReport::szHostName(TEXT("nlite.sourceforge.jp"));
+ const CString CBugReport::szUrlPath(TEXT("cgi-bin/bugreport.rb"));
+ const UINT_PTR CBugReport::portNo(INTERNET_DEFAULT_HTTP_PORT);
+
BOOL CBugReport::SendBugReport(HINTERNET hSession,const BugTrail& bugtrail){
getnliteUserId(userId);
- postData.Format( NLITE_BUG_NLITE_VERSION TEXT("=%s")
+ postData.Format( NLITE_BUG_NLITE_VERSION TEXT("=%s&")
NLITE_BUG_NLITE_USERID_NAME TEXT("=%s&")
NLITE_BUG_SOURCEFILE_NAME TEXT("=%s&")
NLITE_BUG_FUNCTION_NAME TEXT("=%s&")
#define _WTL_NO_CSTRING
#ifndef NDEBUG
-#define NLITE_UINIT_TEST //\92P\91Ì\83e\83X\83g\83\82\81[\83h
+//#define NLITE_UNIT_TEST //\92P\91Ì\83e\83X\83g\83\82\81[\83h
#endif
// Windows \83w\83b\83_\81[ \83t\83@\83C\83\8b:
#include <windows.h>