diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-01-27 08:05:34 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-01-27 08:05:34 +0000 |
commit | 510545acc94b2064ffc7f40d04d8531284625fc9 (patch) | |
tree | 3f90159d2018fd99e34678771fc9a66ed75858b4 /pjsip/src/test-pjsip/msg_test.c | |
parent | 0f62519471c90010d71ef6c42e92733e6f108d79 (diff) |
Ticket #704: pjsip-test: Bus error on FreeBSD due to declaration of test data in read-only segment (thanks Michael Broughton for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2428 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip/msg_test.c')
-rw-r--r-- | pjsip/src/test-pjsip/msg_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/test-pjsip/msg_test.c b/pjsip/src/test-pjsip/msg_test.c index ea7af64b..ad19b41a 100644 --- a/pjsip/src/test-pjsip/msg_test.c +++ b/pjsip/src/test-pjsip/msg_test.c @@ -824,7 +824,7 @@ struct hdr_test_t { char *hname; char *hshort_name; - char *hcontent; + char hcontent[1024]; int (*test)(pjsip_hdr*); unsigned flags; } hdr_test_data[] = |