[ros-diffs] [arty] 22227: Sorry reverted. GreatLord says this is fixed in the wrong place.

arty at svn.reactos.org arty at svn.reactos.org
Mon Jun 5 01:33:27 CEST 2006


Author: arty
Date: Mon Jun  5 03:33:27 2006
New Revision: 22227

URL: http://svn.reactos.ru/svn/reactos?rev=22227&view=rev
Log:
Sorry reverted.  GreatLord says this is fixed in the wrong place.

Modified:
    trunk/reactos/lib/crt/misc/environ.c

Modified: trunk/reactos/lib/crt/misc/environ.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/crt/misc/environ.c?rev=22227&r1=22226&r2=22227&view=diff
==============================================================================
--- trunk/reactos/lib/crt/misc/environ.c (original)
+++ trunk/reactos/lib/crt/misc/environ.c Mon Jun  5 03:33:27 2006
@@ -220,11 +220,8 @@
    char *mboption;
    int remove, index, count, size, result = 0, found = 0;
 
-   if (option == NULL || 
-       ((epos = wcschr(option, L'=')) == NULL) ||
-       (epos == option)) 
-     return -1;
-
+   if (option == NULL || (epos = wcschr(option, L'=')) == NULL)
+      return -1;
    remove = (epos[1] == 0);
 
    /* Duplicate environment if needed. */




More information about the Ros-diffs mailing list