simplified capability dropping

This commit is contained in:
Martin Willi
2007-05-09 13:12:06 +00:00
parent 3cd3f48428
commit a6a039aa10
9 changed files with 32 additions and 51 deletions
+1 -2
View File
@@ -88,8 +88,7 @@ static void send_packets(private_sender_t * this)
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
DBG1(DBG_NET, "sender thread running, thread_ID: %06u", (int)pthread_self());
/* drop threads capabilities */
charon->drop_capabilities(charon, TRUE, FALSE, FALSE);
charon->drop_capabilities(charon, TRUE);
while (TRUE)
{