- scan.c:scan_init(): removed extraneous parentheses
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 25 Dec 2014 16:10:25 +0000 (16:10 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 25 Dec 2014 16:10:25 +0000 (16:10 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5121 82007160-df01-0410-b94d-b575c5fd34c7

src/scan.c

index fa1d3e42499abcd12371239ec808a561dca55115..09e16abaed00e9decc89303a41907b3f1c25429c 100644 (file)
@@ -227,11 +227,11 @@ scan_init(void)
     scs->masks = list_create();
 
     /* Setup configuration */
-    opm_config(scs->scanner, OPM_CONFIG_FD_LIMIT, &(sc->fd));
+    opm_config(scs->scanner, OPM_CONFIG_FD_LIMIT, &sc->fd);
     opm_config(scs->scanner, OPM_CONFIG_SCAN_IP, sc->target_ip);
-    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_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);
 
     /* add target strings */