mod_sofia: fix build error on gcc 4.3 (FSBUILD-105)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11334 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c67c96914b
commit
d88a0fbefc
|
@ -1 +1 @@
|
|||
Thur Dec 18 17:23:18 CST 2008
|
||||
Thur Jan 20 17:23:18 CST 2009
|
||||
|
|
|
@ -218,7 +218,8 @@ issize_t sl_payload_print(FILE *stream, char const *prefix, sip_payload_t const
|
|||
crlf = strnspn(s + n, end - s - n, "\r\n");
|
||||
if (prefix)
|
||||
fputs(prefix, stream), total += strlen(prefix);
|
||||
fwrite(s, 1, n + crlf, stream);
|
||||
if (fwrite(s, 1, n + crlf, stream) < 0)
|
||||
return -1;
|
||||
s += n + crlf;
|
||||
total += n + crlf;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue