[xdebug-dev] xdebug xdebug/xdebug.c - Fixed bug #338: Crash with: xdebug.remote_handler=req.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Wed, 21 Nov 2007 15:03:52 +0100

Date: Wed Nov 21 15:03:52 CET 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[0.10]
- Fixed bug #338: Crash with: xdebug.remote_handler=req.

Modified files:
           xdebug/xdebug.c (version: 1.414)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.413
retrieving revision 1.414
diff -u -r1.413 -r1.414
--- xdebug/xdebug.c:1.413 Wed Nov 21 12:44:37 2007 GMT
+++ xdebug/xdebug.c Wed Nov 21 13:03:52 2007 GMT
@@ -1436,8 +1436,8 @@
                                 /* Get handler from mode */
                                 XG(context).handler = xdebug_handler_get(XG(remote_handler));
                                 if (!XG(context).handler) {
- zend_error(E_WARNING, "The remote debug handler '%s' is not supported.", XG(remote_handler));
                                         XG(remote_enabled) = 0;
+ zend_error(E_WARNING, "The remote debug handler '%s' is not supported.", XG(remote_handler));
                                 } else if (!XG(context).handler->remote_init(&(XG(context)), XDEBUG_REQ)) {
                                         /* The request could not be started, ignore it then */
                                         XG(remote_enabled) = 0;
Received on Wed Nov 21 2007 - 15:03:58 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST