Hi,

"Content Length: zu" seems to be generated from %4zu, changed to %4d in the
following patch to fix the problem.

Martin

--- call.cpp.orig       2007-05-02 17:28:48.336760000 -0500
+++ call.cpp    2007-05-08 23:53:58.001734000 -0500
@@ -2382,7 +2383,7 @@
        key = strstr(length_marker,"\r\n\r\n");
        if (key && dest - key > 4 && dest - key < 10004) {
          char tmp = length_marker[4];
-        sprintf(length_marker, "%4zu", dest - key - 4 + len_offset);
+        sprintf(length_marker, "%4d", dest - key - 4 + len_offset);
          length_marker[4] = tmp;
        } else {
          // Other cases: Content-Length is 0

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to