]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
SFSIP-200
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 10 Feb 2010 14:38:24 +0000 (14:38 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 10 Feb 2010 14:38:24 +0000 (14:38 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16598 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 7213d3545e8d047db27258a88cfbbf14d130a566..901c0afe6a75f254d1d0a32e092c7846c9fd3c94 100644 (file)
@@ -143,7 +143,7 @@ static char *strip_quotes(const char *in)
        char *t = (char *) in;
        char *r = (char *) in;
 
-       if (*t == '"') {
+       if (t && *t == '"') {
                t++;
 
                if (end_of(t) == '"') {