Mercurial > pidgin.yaz
comparison libpurple/proxy.c @ 21015:787b3897ba9f
Patch from Andrew Gaul to constify a bunch of static variables to reduce
the amount of writable memory
+08108000 12K rwx-- /local/local/bin/pidgin
-08107000 16K rwx-- /local/local/bin/pidgin
+005bf000 20K rwx-- /local/local/lib/libpurple.so.0.2.1
-005be000 24K rwx-- /local/local/lib/libpurple.so.0.2.1
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Fri, 26 Oct 2007 04:59:23 +0000 |
parents | 36da9249f3a9 |
children | 35b4f1dc4c8d |
comparison
equal
deleted
inserted
replaced
21014:0314cb293463 | 21015:787b3897ba9f |
---|---|
68 guchar *read_buffer; | 68 guchar *read_buffer; |
69 gsize read_buf_len; | 69 gsize read_buf_len; |
70 gsize read_len; | 70 gsize read_len; |
71 }; | 71 }; |
72 | 72 |
73 static const char *socks5errors[] = { | 73 static const char * const socks5errors[] = { |
74 "succeeded\n", | 74 "succeeded\n", |
75 "general SOCKS server failure\n", | 75 "general SOCKS server failure\n", |
76 "connection not allowed by ruleset\n", | 76 "connection not allowed by ruleset\n", |
77 "Network unreachable\n", | 77 "Network unreachable\n", |
78 "Host unreachable\n", | 78 "Host unreachable\n", |