[svn-commits] trunk r23706 - in /trunk: ./ channels/chan_iax2.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sun Apr 30 08:48:57 MST 2006
Author: kpfleming
Date: Sun Apr 30 10:48:56 2006
New Revision: 23706
URL: http://svn.digium.com/view/asterisk?rev=23706&view=rev
Log:
Merged revisions 23705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23705 | kpfleming | 2006-04-30 10:46:22 -0500 (Sun, 30 Apr 2006) | 2 lines
remove a pointless comparison, since the buffer is smaller than the length being checked for
........
Modified:
trunk/ (props changed)
trunk/channels/chan_iax2.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=23706&r1=23705&r2=23706&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Sun Apr 30 10:48:56 2006
@@ -5062,10 +5062,10 @@
}
ast_mutex_unlock(&userl.lock);
user = best;
- if (!user && !ast_strlen_zero(iaxs[callno]->username) && (strlen(iaxs[callno]->username) < 128)) {
+ if (!user && !ast_strlen_zero(iaxs[callno]->username)) {
user = realtime_user(iaxs[callno]->username);
if (user && !ast_strlen_zero(iaxs[callno]->context) && /* No context specified */
- !apply_context(user->contexts, iaxs[callno]->context)) { /* Context is permitted */
+ !apply_context(user->contexts, iaxs[callno]->context)) { /* Context is permitted */
destroy_user(user);
user = NULL;
}
More information about the svn-commits
mailing list