From d5fef766258bec5659b56e82bf7281a792fc59f6 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 15 Feb 2007 10:50:17 +0000 Subject: fixed portnumber parsing bug git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@57 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'radsecproxy.c') 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"); -- cgit v1.2.3