mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 23:15:59 +00:00
Fix compile for old builds
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -53,10 +53,9 @@ static int txtcidname_exec(struct ast_channel *chan, void *data)
|
|||||||
{
|
{
|
||||||
int res=0;
|
int res=0;
|
||||||
char tech[80];
|
char tech[80];
|
||||||
char txt[256];
|
char txt[256] = "";
|
||||||
char dest[80];
|
char dest[80];
|
||||||
|
|
||||||
txt[0] = 0;
|
|
||||||
struct localuser *u;
|
struct localuser *u;
|
||||||
if (!data || !strlen(data)) {
|
if (!data || !strlen(data)) {
|
||||||
ast_log(LOG_WARNING, "TXTCIDName requires an argument (extension)\n");
|
ast_log(LOG_WARNING, "TXTCIDName requires an argument (extension)\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user