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.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3113 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Paul Tinsley 2006-10-20 03:33:49 +00:00
parent b9a215313d
commit eaf4409b45
1 changed files with 1 additions and 1 deletions

View File

@ -2669,7 +2669,7 @@ static uint8_t handle_register(nua_t *nua,
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;