FreeCalypso > hg > ueda-linux
diff ueda/libunet/unetrd.c @ 20:dda8e455c863
unet-bind works to the point of reporting unbound instances
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 02 Aug 2015 03:23:44 +0000 |
parents | 52000ae7a6cf |
children | 33e4c4cdf493 |
line wrap: on
line diff
--- a/ueda/libunet/unetrd.c Sun Aug 02 03:09:15 2015 +0000 +++ b/ueda/libunet/unetrd.c Sun Aug 02 03:23:44 2015 +0000 @@ -31,7 +31,7 @@ { char *cp; - for (cp = rest; isspace(cp); cp++) + for (cp = rest; isspace(*cp); cp++) ; if (*cp == '\0' || *cp == '#') { fprintf(stderr, "%s line %d: a name is expected after %s\n", @@ -61,7 +61,7 @@ { char *cp; - for (cp = rest; isspace(cp); cp++) + for (cp = rest; isspace(*cp); cp++) ; if (*cp == '\0' || *cp == '#') { fprintf(stderr, "%s line %d: a name is expected after %s\n",