Miscellaneous fixes to finish up `remove-statics'. rlogin.c had a
[u/mdw/putty] / logging.c
index c4b4355..b8091bf 100644 (file)
--- a/logging.c
+++ b/logging.c
@@ -182,12 +182,12 @@ void log_reconfig(void *handle, Config *cfg)
        reset_logging = FALSE;
 
     if (reset_logging)
-       logfclose(logctx);
+       logfclose(ctx);
 
     ctx->cfg = *cfg;                  /* STRUCTURE COPY */
 
     if (reset_logging)
-       logfopen(logctx);
+       logfopen(ctx);
 }
 
 /*