fix sofia windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5704 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6ddfd82436
commit
46e44f9afb
|
@ -313,7 +313,7 @@ int tport_recv_stream(tport_t *self)
|
||||||
if (i + self->tp_ping >= 4)
|
if (i + self->tp_ping >= 4)
|
||||||
tport_tcp_pong(self);
|
tport_tcp_pong(self);
|
||||||
else
|
else
|
||||||
self->tp_ping += i;
|
self->tp_ping += (unsigned short)i;
|
||||||
|
|
||||||
if (i == iovec->siv_len && veclen == 1) {
|
if (i == iovec->siv_len && veclen == 1) {
|
||||||
SU_DEBUG_7(("%s(%p): received %u bytes of keepalive\n",
|
SU_DEBUG_7(("%s(%p): received %u bytes of keepalive\n",
|
||||||
|
|
|
@ -801,8 +801,8 @@ int url_d(url_t *url, char *s)
|
||||||
if (s && !url_canonize(s, s, SIZE_MAX,
|
if (s && !url_canonize(s, s, SIZE_MAX,
|
||||||
/* Allow all URI characters but ? */
|
/* Allow all URI characters but ? */
|
||||||
/* Allow unescaped /;?@, - but do not convert */
|
/* Allow unescaped /;?@, - but do not convert */
|
||||||
SYN33('/') | SYN33(';') | SYN33('=') | SYN33('@') |
|
(unsigned)(SYN33('/') | SYN33(';') | SYN33('=') | SYN33('@') |
|
||||||
SYN33(','),
|
SYN33(',')),
|
||||||
/* Convert escaped :&+$ to unescaped */
|
/* Convert escaped :&+$ to unescaped */
|
||||||
":&+$"))
|
":&+$"))
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -811,7 +811,7 @@ int url_d(url_t *url, char *s)
|
||||||
if (s && !url_canonize(s, s, SIZE_MAX,
|
if (s && !url_canonize(s, s, SIZE_MAX,
|
||||||
/* Allow all URI characters but ? */
|
/* Allow all URI characters but ? */
|
||||||
/* Allow unescaped ;=@, - but do not convert */
|
/* Allow unescaped ;=@, - but do not convert */
|
||||||
SYN33(';') | SYN33('=') | SYN33('@') | SYN33(','),
|
(unsigned)(SYN33(';') | SYN33('=') | SYN33('@') | SYN33(',')),
|
||||||
/* Convert escaped /:&+$ to unescaped */
|
/* Convert escaped /:&+$ to unescaped */
|
||||||
"/:&+$"))
|
"/:&+$"))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue