diff options
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index cbabf03..30b4227 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1569,7 +1569,7 @@ char *parsehostport(char *s, struct peer *peer) { } if (*p == ':') { /* port number or service name is specified */; - field = p++; + field = ++p; for (; *p && *p != ' ' && *p != '\t' && *p != '\n'; p++); if (field == p) { printf("syntax error, : but no following port\n"); |