1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-13 09:07:33 -05:00

Colin's const-fixing Patch Of Death. Seems to build fine on Windows

as well as Unix, so it can go in.

[originally from svn r3162]
This commit is contained in:
Simon Tatham
2003-05-04 14:18:18 +00:00
parent 0bfe876b57
commit 6bb121ecb9
31 changed files with 104 additions and 93 deletions

View File

@ -43,7 +43,7 @@ void logtraffic(void *handle, unsigned char c, int logmode)
* platforms. Platforms which don't have a meaningful stderr can
* just avoid defining FLAG_STDERR.
*/
void log_eventlog(void *handle, char *event)
void log_eventlog(void *handle, const char *event)
{
struct LogContext *ctx = (struct LogContext *)handle;
if ((flags & FLAG_STDERR) && (flags & FLAG_VERBOSE)) {