Fix warnings about shadowed variables, and use -Wshadow in maintainer mode.
[srvx.git] / src / proto-common.c
index 4477fad41d5ab53d948ce2810ef8d4eb48300147..3a14c68bdc0670b0371028711c61d30fa8d20273 100644 (file)
@@ -105,7 +105,7 @@ void replay_event_loop(void)
     while (!quit_services) {
         if (!replay_connected) {
             /* this time fudging is to get some of the logging right */
-            self->link = self->boot = now;
+            self->link_time = self->boot = now;
             cManager.uplink->state = AUTHENTICATING;
             irc_introduce(cManager.uplink->password);
             replay_connected = 1;