Having laid all the groundwork, we can now remove the global `cfg'
[u/mdw/putty] / unix / uxplink.c
index 295e80b..eda68d2 100644 (file)
@@ -72,6 +72,7 @@ struct termios orig_termios;
 
 static Backend *back;
 static void *backhandle;
+static Config cfg;
 
 /*
  * Default settings that are specific to pterm.
@@ -544,7 +545,7 @@ int main(int argc, char **argv)
     /*
      * Start up the connection.
      */
-    logctx = log_init(NULL);
+    logctx = log_init(NULL, &cfg);
     {
        char *error;
        char *realhost;