]> jfr.im git - irc/blitzed-org/bopm.git/commitdiff
Fixed it so it doesn't pass the address of the pointer of sc->vhost to
authorstrtok <redacted>
Fri, 3 Jan 2003 07:09:12 +0000 (07:09 +0000)
committerstrtok <redacted>
Fri, 3 Jan 2003 07:09:12 +0000 (07:09 +0000)
the scanner config (tsk tsk dg and strtok are both bug demons)

src/scan.c

index eb6eac5cd6a1993a74ddebb617df899ce8b230e7..6b711da03aa077e25fb8662e084f38f2e395b6a7 100644 (file)
@@ -204,7 +204,7 @@ void scan_init()
       opm_config(scs->scanner, OPM_CONFIG_SCAN_PORT, &(sc->target_port));
       opm_config(scs->scanner, OPM_CONFIG_TIMEOUT, &(sc->timeout));
       opm_config(scs->scanner, OPM_CONFIG_MAX_READ, &(sc->max_read));
-      opm_config(scs->scanner, OPM_CONFIG_BIND_IP, &(sc->vhost));
+      opm_config(scs->scanner, OPM_CONFIG_BIND_IP, sc->vhost);
 
       /* add target strings */
       LIST_FOREACH(p2, sc->target_string->head)