[commit] r3113 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: ptinsley Date: Thu Oct 19 23:33:49 2006 New Revision: 3113 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c Log: Fix for broken trunk commit, setting contact_str size to the size of sql variable it's stored in [contact VARCHAR(1024)] + 1 for the null. Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c Thu Oct 19 23:33:49 2006 @@ -2669,7 +2669,7 @@ switch_event_t *s_event; char *from_user = (char *) from->a_url->url_user; char *from_host = (char *) from->a_url->url_host; - char *contact_str[256] = ""; + char contact_str[1025] = ""; char buf[512]; char *passwd = NULL; uint8_t stale = 0, ret = 0, forbidden = 0;
participants (1)
-
Freeswitch SVN