FreeCalypso > hg > ueda-linux
comparison 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 |
comparison
equal
deleted
inserted
replaced
19:1d4c693b8f35 | 20:dda8e455c863 |
---|---|
29 struct unetrd_out *out; | 29 struct unetrd_out *out; |
30 char *rest; | 30 char *rest; |
31 { | 31 { |
32 char *cp; | 32 char *cp; |
33 | 33 |
34 for (cp = rest; isspace(cp); cp++) | 34 for (cp = rest; isspace(*cp); cp++) |
35 ; | 35 ; |
36 if (*cp == '\0' || *cp == '#') { | 36 if (*cp == '\0' || *cp == '#') { |
37 fprintf(stderr, "%s line %d: a name is expected after %s\n", | 37 fprintf(stderr, "%s line %d: a name is expected after %s\n", |
38 state->filename, state->lineno, out->keyword); | 38 state->filename, state->lineno, out->keyword); |
39 exit(1); | 39 exit(1); |
59 struct unetrd_out *out; | 59 struct unetrd_out *out; |
60 char *rest; | 60 char *rest; |
61 { | 61 { |
62 char *cp; | 62 char *cp; |
63 | 63 |
64 for (cp = rest; isspace(cp); cp++) | 64 for (cp = rest; isspace(*cp); cp++) |
65 ; | 65 ; |
66 if (*cp == '\0' || *cp == '#') { | 66 if (*cp == '\0' || *cp == '#') { |
67 fprintf(stderr, "%s line %d: a name is expected after %s\n", | 67 fprintf(stderr, "%s line %d: a name is expected after %s\n", |
68 state->filename, state->lineno, out->keyword); | 68 state->filename, state->lineno, out->keyword); |
69 exit(1); | 69 exit(1); |