projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Quash various warnings from higher levels of compiler warnings.
[ircu2.10.12-pk.git]
/
ircd
/
ircd_parser.y
diff --git
a/ircd/ircd_parser.y
b/ircd/ircd_parser.y
index a43b9446cd7619768bafb7e301ea67525065901f..64a112cb9e54000097c2ef1df176debd3c6b7db9 100644
(file)
--- a/
ircd/ircd_parser.y
+++ b/
ircd/ircd_parser.y
@@
-709,7
+709,7
@@
portblock: PORT '{' portitems '}' ';' {
hosts = link;
}
for (link = hosts; link != NULL; link = link->next) {
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);
switch (link->flags & (USE_IPV4 | USE_IPV6)) {
case USE_IPV4:
FlagSet(&flags_here, LISTEN_IPV4);