]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - x11fwd.c
Giant const-correctness patch of doom!
[PuTTY.git] / x11fwd.c
index 4a6d82704b7cdbccbed5a1dfcf964aaa2dda9cbd..e42edf7549dfebc937f1f3675bd6035f384c910f 100644 (file)
--- a/x11fwd.c
+++ b/x11fwd.c
@@ -357,10 +357,10 @@ void x11_free_display(struct X11Display *disp)
 
 #define XDM_MAXSKEW 20*60      /* 20 minute clock skew should be OK */
 
-static char *x11_verify(unsigned long peer_ip, int peer_port,
-                       tree234 *authtree, char *proto,
-                       unsigned char *data, int dlen,
-                        struct X11FakeAuth **auth_ret)
+static const char *x11_verify(unsigned long peer_ip, int peer_port,
+                              tree234 *authtree, char *proto,
+                              unsigned char *data, int dlen,
+                              struct X11FakeAuth **auth_ret)
 {
     struct X11FakeAuth match_dummy;    /* for passing to find234 */
     struct X11FakeAuth *auth;