Don't print a pointer when trying to print a string.
authorLinus Nordberg <linus@nordu.net>
Sun, 3 Jul 2011 11:02:32 +0000 (13:02 +0200)
committerLinus Nordberg <linus@nordu.net>
Sun, 3 Jul 2011 11:05:05 +0000 (13:05 +0200)
radsecproxy.c

index f026fee..130d6f0 100644 (file)
@@ -2789,7 +2789,7 @@ int compileserverconfig(struct clsrvconf *conf, const char *block) {
        conf->rewriteout = getrewrite(conf->confrewriteout, NULL);
 
     if (!addhostport(&conf->hostports, conf->hostsrc, conf->portsrc, 0)) {
-       debug(DBG_ERR, "error in block %s, failed to parse %s", block, conf->hostsrc);
+       debug(DBG_ERR, "error in block %s, failed to parse %s", block, *conf->hostsrc);
        return 0;
     }