r82035 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82034‎ | r82035 | r82036 >
Date:21:35, 12 February 2011
Author:platonides
Status:ok
Tags:
Comment:
Follow up r82021. The buffer is to be initialised every request.
Modified paths:
  • /trunk/php/wmerrors/wmerrors.c (modified) (history)

Diff [purge]

Index: trunk/php/wmerrors/wmerrors.c
@@ -63,7 +63,6 @@
6464 wmerrors_globals->message_file = NULL;
6565 wmerrors_globals->logging_file = NULL;
6666 wmerrors_globals->log_level = 0;
67 - wmerrors_globals->log_buffer.c = NULL;
6867 }
6968
7069 PHP_MINIT_FUNCTION(wmerrors)
@@ -88,6 +87,7 @@
8988 PHP_RINIT_FUNCTION(wmerrors)
9089 {
9190 WMERRORS_G(recursion_guard) = 0;
 91+ WMERRORS_G(log_buffer).c = NULL;
9292 return SUCCESS;
9393 }
9494

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82021wmerrors: Enable UDP support (already supported by Platonides's existing TCP ...catrope18:09, 12 February 2011

Status & tagging log