[svn-commits] markster: trunk r44145 - /trunk/main/asterisk.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sun Oct 1 19:19:05 MST 2006
Author: markster
Date: Sun Oct 1 21:19:04 2006
New Revision: 44145
URL: http://svn.digium.com/view/asterisk?rev=44145&view=rev
Log:
Uhm yah, not sure who committed this into trunk... Anyway, I think this
is what was intended...
Modified:
trunk/main/asterisk.c
Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?rev=44145&r1=44144&r2=44145&view=diff
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Sun Oct 1 21:19:04 2006
@@ -2558,9 +2558,7 @@
cap = cap_from_text("cap_net_admin=ep");
if (cap_set_proc(cap)) {
ast_log(LOG_WARNING, "Unable to install capabilities.\n");
- break;
- }
- if (cap_free(cap)) {
+ } else if (cap_free(cap)) {
ast_log(LOG_WARNING, "Unable to drop capabilities.\n");
}
}
More information about the svn-commits
mailing list