[Groonga-commit] groonga/groonga at e6191b7 [master] Make Windows version grn_current_error_message() buildable

Back to archive index

Kouhei Sutou null+****@clear*****
Sun May 19 09:57:15 JST 2013


Kouhei Sutou	2013-05-19 09:57:15 +0900 (Sun, 19 May 2013)

  New Revision: e6191b7b55200871f5f51288434f4acabdc88195
  https://github.com/groonga/groonga/commit/e6191b7b55200871f5f51288434f4acabdc88195

  Message:
    Make Windows version grn_current_error_message() buildable

  Modified files:
    lib/error.c

  Modified: lib/error.c (+2 -2)
===================================================================
--- lib/error.c    2013-05-19 09:55:45 +0900 (6b2d06d)
+++ lib/error.c    2013-05-19 09:57:15 +0900 (322b29b)
@@ -34,7 +34,7 @@ grn_current_error_message(void)
   FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM |
                 FORMAT_MESSAGE_IGNORE_INSERTS,
                 NULL,
-                error_codee,
+                error_code,
                 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
                 message,
                 ERROR_MESSAGE_BUFFER_SIZE,
@@ -42,7 +42,7 @@ grn_current_error_message(void)
 
   return message;
 
-# undef ERROR_MESSAGE_BUFFER_SIZE 4096
+# undef ERROR_MESSAGE_BUFFER_SIZE
 }
 #else
 const char *
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index