[Frugalware-darcs] setup-current: netconfig: cleanup
VMiklos
vmiklos at frugalware.org
Thu Mar 16 18:02:07 CET 2006
[netconfig: cleanup
VMiklos <vmiklos at frugalware.org>**20060117225633] {
hunk ./src/config/netconfig.c 48
- while(isspace(*ptr))
- ptr++;
- if(ptr != str)
- memmove(str, ptr, (strlen(ptr) + 1));
+ while(isspace(*ptr++))
+ if(ptr != str)
+ memmove(str, ptr, (strlen(ptr) + 1));
hunk ./src/config/netconfig.c 52
- while(isspace(*ptr))
- ptr--;
- *++ptr = '\0';
+ while(isspace(*ptr--))
+ *++ptr = '\0';
hunk ./src/config/netconfig.c 62
- {
- (*ptr) = toupper(*ptr);
- ptr++;
- }
+ *ptr++ = toupper(*ptr);
}
More information about the Frugalware-darcs
mailing list