Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'LOGGING.C')
-rw-r--r--LOGGING.C5
1 files changed, 5 insertions, 0 deletions
diff --git a/LOGGING.C b/LOGGING.C
index 31cbccfb..e065f1a4 100644
--- a/LOGGING.C
+++ b/LOGGING.C
@@ -81,6 +81,11 @@ void logflush(LogContext *ctx)
fflush(ctx->lgfp);
}
+LogPolicy *log_get_policy(LogContext *ctx)
+{
+ return ctx->lp;
+}
+
static void logfopen_callback(void *vctx, int mode)
{
LogContext *ctx = (LogContext *)vctx;