[xdebug-dev] xdebug xdebug/xdebug.c - The whitespace Nazi strikes again!

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Thu, 22 Apr 2004 21:00:49 +0200

Date: Thu Apr 22 21:00:48 CEST 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- The whitespace Nazi strikes again!

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

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -r1.214 -r1.215
--- xdebug/xdebug.c:1.214 Thu Apr 22 16:37:43 2004 GMT
+++ xdebug/xdebug.c Thu Apr 22 17:00:48 2004 GMT
@@ -320,11 +320,15 @@
                 char *name = NULL;
                 char *envvar = parts->args[i];
                 char *envval = NULL;
- char *eq = strchr(envvar,'=');
- if (!eq || !*eq) continue;
+ char *eq = strchr(envvar, '=');
+ if (!eq || !*eq) {
+ continue;
+ }
                 *eq = 0;
                 envval = eq + 1;
- if (!*envval) continue;
+ if (!*envval) {
+ continue;
+ }
 
                 if (strcasecmp(envvar, "remote_enable") == 0) {
                         name = "xdebug.remote_enable";
@@ -343,7 +347,7 @@
                 }
 
                 if (name) {
- zend_alter_ini_entry(name, strlen(name)+1, envval, strlen(envval), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
+ zend_alter_ini_entry(name, strlen(name) + 1, envval, strlen(envval), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
                 }
         }
 
Received on Thu Apr 22 2004 - 21:00:52 BST

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