Displaying 1 result from an estimated 1 matches for "ast_dynstr_build_failed".
2007 Jul 29
0
Asterisk 1.4.X support for Solaris 10?
...(*buf)->len = ((res + offset + 1) < max_len) ? 
(res + offset + 1) : max_len;
                else
                        (*buf)->len = res + offset + 1;
                if (!(*buf = ast_realloc(*buf, (*buf)->len + 
sizeof(*(*buf)))))
                        return AST_DYNSTR_BUILD_FAILED;
                if (append)
                        (*buf)->str[offset] = '\0';
                if (ts) {
                        pthread_setspecific(ts->key, *buf);
#if defined(DEBUG_THREADLOCALS)
                        __ast_threadstorage_object_replace(old_buf, 
*buf, (*buf)-&g...