[Freeswitch-svn] [commit] r8149 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/sip

Freeswitch SVN mikej at freeswitch.org
Mon Apr 21 18:30:48 EDT 2008


Author: mikej
Date: Mon Apr 21 18:30:48 2008
New Revision: 8149

Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip/sip_util.c

Log:
Fri Apr 18 06:54:40 EDT 2008  Jerry Richards <jerryr at tonecommander dot com>
  * sip_util.c: fixed sip_header_as_string()



Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Mon Apr 21 18:30:48 2008
@@ -1 +1 @@
-Mon Apr  7 15:44:29 EDT 2008
+Mon Apr 21 18:30:34 EDT 2008

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip/sip_util.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip/sip_util.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/sip/sip_util.c	Mon Apr 21 18:30:48 2008
@@ -412,7 +412,7 @@
   for (rv = su_alloc(home, len);
        rv;
        rv = su_realloc(home, rv, len)) {
-    ssize_t n = sip_header_field_e(s, sizeof(s), h, 0);
+    ssize_t n = sip_header_field_e(rv, len, h, 0);
     if (n > -1 && n + 1 <= len)
       break;
     if (n > -1)			/* glibc >2.1 */



More information about the Freeswitch-svn mailing list