aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 9da2769e..b23afdc7 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -79,6 +79,7 @@ statement : SET BATCHLIMIT MAP NUMBER {batchlimit = $4;}
*/
| define_server serverspecs {prc_register(); prc_reset();}
| define_server serverspecs userspecs
+ {memset(&current,'\0',sizeof(current));}
;
define_server : POLL STRING {current.server.names = (struct idlist *)NULL;