Changeset 2459

Show
Ignore:
Timestamp:
01/18/07 17:33:45 (2 years ago)
Author:
dhozac
Message:

Fix logic error.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/vsysctl.c

    r2458 r2459  
    117117 
    118118  /* we just want the first line, and not the linefeed */ 
    119   if ((ptr = strchr(setting, '\n')) == NULL) 
     119  if ((ptr = strchr(setting, '\n')) != NULL) 
    120120    *ptr = '\0'; 
    121121