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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users