The logging module now contains a local copy of cfg too.
[sgt/putty] / plink.c
diff --git a/plink.c b/plink.c
index f927151..2ed3e03 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -545,7 +545,7 @@ int main(int argc, char **argv)
            fprintf(stderr, "Unable to open connection:\n%s", error);
            return 1;
        }
-       logctx = log_init(NULL);
+       logctx = log_init(NULL, &cfg);
        back->provide_logctx(backhandle, logctx);
        sfree(realhost);
     }