OSDN Git Service

バグレポート機能感性
authorqwerty2501 <qwerty2501users.sourceforge.jp>
Fri, 9 Mar 2012 17:40:40 +0000 (02:40 +0900)
committerqwerty2501 <qwerty2501users.sourceforge.jp>
Fri, 9 Mar 2012 17:40:40 +0000 (02:40 +0900)
nlite.suo
nlite/nlite.cpp
nlite/nlite_bugreport.cpp
nlite/stdafx.h

index 4c385e4..74e19a0 100644 (file)
Binary files a/nlite.suo and b/nlite.suo differ
index 297fff1..ae5877e 100644 (file)
@@ -13,7 +13,7 @@ CAppModule _Module;
 
 
 
-#ifndef NLITE_UINIT_TEST
+#ifndef NLITE_UNIT_TEST
 
 //\83\81\83C\83\93\8aÖ\90\94
 int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE,
@@ -107,7 +107,7 @@ nliteexception:
 
 
 #else
-#ifdef NLITE_UINIT_TEST
+#ifdef NLITE_UNIT_TEST
 
 
 
index 309eb0e..4629dca 100644 (file)
@@ -67,10 +67,10 @@ namespace nlite{
 
 
 
-       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){
@@ -99,7 +99,7 @@ namespace nlite{
 
                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&")
index 5329f79..880d129 100644 (file)
@@ -16,7 +16,7 @@
 #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>