projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialise 'psa' to NULL on every code path in the Pageant client
[u/mdw/putty]
/
unix
/
uxcons.c
diff --git
a/unix/uxcons.c
b/unix/uxcons.c
index
ce1a492
..
882d2c9
100644
(file)
--- a/
unix/uxcons.c
+++ b/
unix/uxcons.c
@@
-70,7
+70,7
@@
void notify_remote_exit(void *frontend)
{
}
{
}
-void timer_change_notify(long next)
+void timer_change_notify(
unsigned
long next)
{
}
{
}
@@
-321,10
+321,12
@@
void console_provide_logctx(void *logctx)
void logevent(void *frontend, const char *string)
{
struct termios cf;
void logevent(void *frontend, const char *string)
{
struct termios cf;
- premsg(&cf);
+ if ((flags & FLAG_STDERR) && (flags & FLAG_VERBOSE))
+ premsg(&cf);
if (console_logctx)
log_eventlog(console_logctx, string);
if (console_logctx)
log_eventlog(console_logctx, string);
- postmsg(&cf);
+ if ((flags & FLAG_STDERR) && (flags & FLAG_VERBOSE))
+ postmsg(&cf);
}
/*
}
/*