Changeset 7a9d968 for protocols/jabber/s5bytestream.c
- Timestamp:
- 2018-03-10T11:30:39Z (7 years ago)
- Children:
- 5447c59
- Parents:
- 3f44e43 (diff), 4a9c6b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/s5bytestream.c
r3f44e43 r7a9d968 500 500 case BS_PHASE_REPLY: 501 501 { 502 struct socks5_message socks5_reply ;502 struct socks5_message socks5_reply = {0}; 503 503 int ret; 504 504 … … 888 888 char *proxy, *next, *errmsg = NULL; 889 889 char port[6]; 890 char host[ HOST_NAME_MAX+ 1];890 char host[NI_MAXHOST + 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 ;1048 } socks5_hello = {0}; 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 ;1093 struct socks5_message socks5_connect = {0}; 1094 1094 int msgsize = sizeof(struct socks5_message); 1095 1095 int ret;
Note: See TracChangeset
for help on using the changeset viewer.