mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
don't try to print out username before its copied
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -822,11 +822,11 @@ static struct ast_channel *oh323_request(char *type, int format, void *data)
|
||||
p->nonCodecCapability &= ~AST_RTP_DTMF;
|
||||
}
|
||||
|
||||
|
||||
if (ext) {
|
||||
strncpy(p->username, ext, sizeof(p->username) - 1);
|
||||
}
|
||||
ast_log(LOG_DEBUG, "Host: %s\tUsername: %s\n", host, p->username);
|
||||
|
||||
if (ext)
|
||||
strncpy(p->username, ext, sizeof(p->username) - 1);
|
||||
tmpc = oh323_new(p, AST_STATE_DOWN, host);
|
||||
if (!tmpc)
|
||||
oh323_destroy(p);
|
||||
|
Reference in New Issue
Block a user