Tue Nov 20 06:32:08 EST 2007 Pekka Pessi <Pekka.Pessi@nokia.com>
* su_tagarg.h: call va_copy() before calling tl_vlist() Looks like Solaris on amd64 is not happy with normal va_start()/va_end() use of va_lists. Thanks for Michael Jerris for reporting the problem. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6359 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6f29be8704
commit
286d3bd0f9
|
@ -142,8 +142,11 @@ typedef struct {
|
|||
if (ta_start__tag != NULL && \
|
||||
ta_start__tag != tag_null && \
|
||||
ta_start__tag != tag_next) { \
|
||||
va_list ta_start__ap; \
|
||||
va_copy(ta_start__ap, (ta).ap); \
|
||||
(ta).tl[1].t_tag = tag_next; \
|
||||
(ta).tl[1].t_value = (tag_value_t)tl_vlist((ta).ap); \
|
||||
(ta).tl[1].t_value = (tag_value_t)tl_vlist(ta_start__ap); \
|
||||
va_end(ta_start__ap); \
|
||||
} else { \
|
||||
(ta).tl[1].t_value = 0; (ta).tl[1].t_value = (tag_value_t)0; \
|
||||
} \
|
||||
|
|
Loading…
Reference in New Issue