[Groonga-commit] groonga/groonga at fe21e9a [master] windows: use grn_vsnprintf()

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 26 17:27:31 JST 2016


Kouhei Sutou	2016-04-26 17:27:31 +0900 (Tue, 26 Apr 2016)

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

  Message:
    windows: use grn_vsnprintf()

  Modified files:
    lib/logger.c

  Modified: lib/logger.c (+1 -1)
===================================================================
--- lib/logger.c    2016-04-26 17:14:37 +0900 (ffd913b)
+++ lib/logger.c    2016-04-26 17:27:31 +0900 (f8e475b)
@@ -369,7 +369,7 @@ grn_logger_put(grn_ctx *ctx, grn_log_level level,
     if (current_logger.flags & GRN_LOG_MESSAGE) {
       va_list argp;
       va_start(argp, fmt);
-      vsnprintf(mbuf, MBUFSIZE - 1, fmt, argp);
+      grn_vsnprintf(mbuf, MBUFSIZE - 1, fmt, argp);
       va_end(argp);
       mbuf[MBUFSIZE - 1] = '\0';
     } else {
-------------- next part --------------
HTML����������������������������...
Télécharger 



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