Colin's const-fixing Patch Of Death. Seems to build fine on Windows
[u/mdw/putty] / proxy.h
diff --git a/proxy.h b/proxy.h
index cc11061..2bd5220 100644 (file)
--- a/proxy.h
+++ b/proxy.h
@@ -64,7 +64,7 @@ struct Socket_proxy_tag {
      */
 
     /* closing */
-    char *closing_error_msg;
+    const char *closing_error_msg;
     int closing_error_code;
     int closing_calling_back;