tweak build.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7924 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-03-19 02:20:23 +00:00
parent b05d64ff5c
commit c47b012255
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ static void parse_rr(const struct dns_parse *p, enum_query_t * q, struct dns_rr
for(n = 0; n < 3; n++) {
uint32_t len = *c++, cpylen = len;
switch_assert(string_arg[n]);
if (len > sizeof(string_arg[n]) - 1) {
cpylen = sizeof(string_arg[n]) - 1;
}