Tue May 20 07:46:10 EDT 2008 Pekka.Pessi@nokia.com
* nua_event_server.c: fixed klocwork issue git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8606 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c7fccda55c
commit
08ed3b66fc
|
@ -1 +1 @@
|
|||
Sun May 25 09:50:22 EDT 2008
|
||||
Sun May 25 09:51:04 EDT 2008
|
||||
|
|
|
@ -145,7 +145,7 @@ nea_event_t *nh_notifier_event(nua_handle_t *nh,
|
|||
|
||||
if (ev == NULL) {
|
||||
char *o_type = su_strdup(home, event->o_type);
|
||||
char *o_subtype = strchr(o_type, '.');
|
||||
char *o_subtype = o_type ? strchr(o_type, '.') : NULL;
|
||||
|
||||
if (o_subtype)
|
||||
*o_subtype++ = '\0';
|
||||
|
|
Loading…
Reference in New Issue