Hi,

has this patch aready been introduced to the sipp code? (I havn't seen anything about this on the sipp-commit list) This bug is really annoying (at least for me) and prevents from an update to 2.0 since SER is not accepting messages with unknown branch information in the Via header.

cheers,
Enrico

M.H.VanLeeuwen wrote:
Hi,

Here is a fix for losing the last character of the Via header
when converting from multiple Via header to a comma seperated list.

The problem is that the destination buffer need to be incremented
before inserting the comma otherwise the last character of the Via
is overwritten.

Martin

--- call.cpp.orig       2007-05-02 17:28:48.336760000 -0500
+++ call.cpp    2007-05-08 23:53:58.001734000 -0500
@@ -1179,6 +1179,7 @@
             ((*dest == ' ') || (*dest == '\r')|| (*dest == '\t'))) {
           *(dest--) = 0;
         }
+       dest++;

         dest += sprintf(dest, ",");


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to