[ekg2-commit] r4038 - trunk/ekg: trunk/ekg/plugins.c
SVN commit
svn w toxygen.net
Pon, 30 Cze 2008, 21:00:14 CEST
Author: wiechu
Date: 2008-06-30 21:00:13 +0200 (Mon, 30 Jun 2008)
New Revision: 4038
Modified:
trunk/ekg/plugins.c
Log:
fix query_emit_common()
Modified: trunk/ekg/plugins.c
===================================================================
--- trunk/ekg/plugins.c 2008-06-30 18:19:14 UTC (rev 4037)
+++ trunk/ekg/plugins.c 2008-06-30 19:00:13 UTC (rev 4038)
@@ -804,9 +804,7 @@
int result;
va_list ap_plugin;
- nested++;
-
- if (nested > 32) {
+ if (nested >= 32) {
/*
if (nested == 33)
debug("too many nested queries. exiting to avoid deadlock\n");
@@ -814,6 +812,7 @@
return -1;
}
+ nested++;
q->count++;
/*
Więcej informacji o liście dyskusyjnej ekg2-commit