Revert ast_str opacity in chan_sip for now, since something wasn't quite right

in the merge.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-12-15 19:48:02 +00:00
parent 203e224bcb
commit 42e26ee700
2 changed files with 160 additions and 189 deletions

View File

@@ -23,7 +23,7 @@
#ifndef _ASTERISK_STRINGS_H
#define _ASTERISK_STRINGS_H
#define DEBUG_OPAQUE
/* #define DEBUG_OPAQUE */
#include <ctype.h>
@@ -32,7 +32,7 @@
/* You may see casts in this header that may seem useless but they ensure this file is C++ clean */
#define AS_OR(a,b) ast_str_strlen(a) ? ast_str_buffer(a) : (b)
#define AS_OR(a,b) (a && ast_str_strlen(a)) ? ast_str_buffer(a) : (b)
#ifdef AST_DEVMODE
#define ast_strlen_zero(foo) _ast_strlen_zero(foo, __FILE__, __PRETTY_FUNCTION__, __LINE__)