projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0543086
)
chan_lcr: in lcr_in_information: information.id already contains the
author
schlaile
<root@asterisk.schlaile.de>
Sat, 14 Jun 2008 18:51:34 +0000
(20:51 +0200)
committer
root
<root@asterisk.schlaile.de>
Sat, 14 Jun 2008 18:51:34 +0000
(20:51 +0200)
completely assembled extension, so strncpy is more appropriate :)
chan_lcr.c
patch
|
blob
|
history
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
3e89585
..
25043ed
100644
(file)
--- a/
chan_lcr.c
+++ b/
chan_lcr.c
@@
-958,7
+958,7
@@
static void lcr_in_information(struct chan_call *call, int message_type, union p
if (!call->pbx_started)
{
CDEBUG(call, call->ast, "Asterisk not started, adding digits to number.\n");
- strnc
at
(ast->exten, param->information.id, AST_MAX_EXTENSION-1);
+ strnc
py
(ast->exten, param->information.id, AST_MAX_EXTENSION-1);
lcr_start_pbx(call, ast, param->information.sending_complete);
return;
}