Added a generic TASK_ prefix to all task types

This commit is contained in:
Martin Willi
2012-03-20 17:30:45 +01:00
parent 744c080153
commit a09972df2b
31 changed files with 109 additions and 108 deletions
+1 -1
View File
@@ -1715,7 +1715,7 @@ static void requeue_init_tasks(private_ike_sa_t *this)
this->task_manager, TASK_QUEUE_QUEUED);
while (enumerator->enumerate(enumerator, &task))
{
if (task->get_type(task) == IKE_INIT)
if (task->get_type(task) == TASK_IKE_INIT)
{
has_init = TRUE;
break;