Tue May 20 09:30:06 EDT 2008 Pekka.Pessi@nokia.com

* msg_mime.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8611 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-05-25 13:54:56 +00:00
parent e1f98ec1ad
commit 3c079c410f
2 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
Sun May 25 09:53:58 EDT 2008 Sun May 25 09:54:31 EDT 2008

View File

@ -1871,7 +1871,9 @@ char *msg_content_type_dup_one(msg_header_t *dst, msg_header_t const *src,
b = msg_params_dup(&c->c_params, o->c_params, b, xtra); b = msg_params_dup(&c->c_params, o->c_params, b, xtra);
MSG_STRING_DUP(b, c->c_type, o->c_type); MSG_STRING_DUP(b, c->c_type, o->c_type);
c->c_subtype = strchr(c->c_type, '/');
c->c_subtype = c->c_type ? strchr(c->c_type, '/') : NULL;
if (c->c_subtype)
c->c_subtype++; c->c_subtype++;
assert(b <= end); (void)end; assert(b <= end); (void)end;