Quash various warnings from higher levels of compiler warnings.
[ircu2.10.12-pk.git] / ircd / ircd_parser.y
index a43b9446cd7619768bafb7e301ea67525065901f..64a112cb9e54000097c2ef1df176debd3c6b7db9 100644 (file)
@@ -709,7 +709,7 @@ portblock: PORT '{' portitems '}' ';' {
     hosts = link;
   }
   for (link = hosts; link != NULL; link = link->next) {
-    memcpy(&flags_here, &listen_flags, sizeof(&flags_here));
+    memcpy(&flags_here, &listen_flags, sizeof(flags_here));
     switch (link->flags & (USE_IPV4 | USE_IPV6)) {
     case USE_IPV4:
       FlagSet(&flags_here, LISTEN_IPV4);