From: Anthony Minessale Date: Mon, 14 Apr 2008 16:52:30 +0000 (+0000) Subject: doh doh X-Git-Tag: v1.0-rc4~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79260c7b06cdcd4f9d3d725ea418ba429eb8d318;p=thirdparty%2Ffreeswitch.git doh doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8107 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 773eb733c2..bf66fe3468 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1458,7 +1458,7 @@ static void sofia_handle_sip_r_options(switch_core_session_t *session, int statu sip->sip_to->a_url->url_host ); - char *sql = switch_mprintf("update sip_registratons set expired=%ld where sip_user='%s' and sip_host='%s'", + char *sql = switch_mprintf("update sip_registrations set expired=%ld where sip_user='%s' and sip_host='%s'", (long)now, sip->sip_to->a_url->url_user, sip->sip_to->a_url->url_host