don't assert then if

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15951 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-12-14 20:10:01 +00:00
parent a696e9279f
commit 7d6f7597d8
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Tue Dec 1 16:41:39 CST 2009
Mon Dec 14 15:09:49 EST 2009

View File

@ -63,7 +63,7 @@ const unsigned sdp_struct_align_ = sizeof(void *) - STRUCT_ALIGN_;
#define STRUCT_DUP(p, dst, src) \
ASSERT_STRUCT_ALIGN(p); assert(*(int*)(src) >= (int)sizeof(*src)); \
ASSERT_STRUCT_ALIGN(p); \
((*(int*)(src) >= (int)sizeof(*src) \
? (dst = memcpy((p), (src), sizeof(*src))) \
: (dst = memcpy((p), (src), *(int*)(src))), \