Changes in protocols/jabber/s5bytestream.c [2e8523b:63825d6]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/s5bytestream.c
r2e8523b r63825d6 500 500 case BS_PHASE_REPLY: 501 501 { 502 struct socks5_message socks5_reply = {0};502 struct socks5_message socks5_reply; 503 503 int ret; 504 504 … … 888 888 char *proxy, *next, *errmsg = NULL; 889 889 char port[6]; 890 char host[ NI_MAXHOST+ 1];890 char host[HOST_NAME_MAX + 1]; 891 891 jabber_streamhost_t *sh, *sh2; 892 892 GSList *streamhosts = jd->streamhosts; … … 1046 1046 unsigned char nmethods; 1047 1047 unsigned char method; 1048 } socks5_hello = {0};1048 } socks5_hello; 1049 1049 1050 1050 if (!(ret = jabber_bs_peek(bt, &socks5_hello, sizeof(socks5_hello)))) { … … 1091 1091 case BS_PHASE_REQUEST: 1092 1092 { 1093 struct socks5_message socks5_connect = {0};1093 struct socks5_message socks5_connect; 1094 1094 int msgsize = sizeof(struct socks5_message); 1095 1095 int ret;
Note: See TracChangeset
for help on using the changeset viewer.