From: Simon Tatham Date: Mon, 30 Jan 2017 19:42:28 +0000 (+0000) Subject: Remove duplicate definition of AGENT_MAX_MSGLEN. X-Git-Tag: 0.68~60 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=9c3700a6d3d037bd823a65f5837264605891b2ea;p=PuTTY.git Remove duplicate definition of AGENT_MAX_MSGLEN. Now all references of that constant use the same definition in pageant.h, so it'll be easy to change if we ever need to. --- diff --git a/windows/winpgntc.c b/windows/winpgntc.c index 1136ec76..cd00f6a3 100644 --- a/windows/winpgntc.c +++ b/windows/winpgntc.c @@ -7,13 +7,13 @@ #include #include "putty.h" +#include "pageant.h" /* for AGENT_MAX_MSGLEN */ #ifndef NO_SECURITY #include "winsecur.h" #endif #define AGENT_COPYDATA_ID 0x804e50ba /* random goop */ -#define AGENT_MAX_MSGLEN 8192 int agent_exists(void) {