mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-23 07:54:50 -07:00
fix some formatting i accidentally changed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@90147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -111,8 +111,8 @@ static int callerid_write(struct ast_channel *chan, char *cmd, char *data,
|
||||
char name[256];
|
||||
char num[256];
|
||||
|
||||
if (!ast_callerid_split(value, name, sizeof(name), num, sizeof(num)))
|
||||
ast_set_callerid(chan, num, name, num);
|
||||
if (!ast_callerid_split(value, name, sizeof(name), num, sizeof(num)))
|
||||
ast_set_callerid(chan, num, name, num);
|
||||
} else if (!strncasecmp("name", data, 4)) {
|
||||
ast_set_callerid(chan, NULL, value, NULL);
|
||||
} else if (!strncasecmp("num", data, 3) ||
|
||||
|
||||
Reference in New Issue
Block a user