Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 2696a76 in mainline


Ignore:
Timestamp:
2012-07-24T14:12:43Z (9 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master
Children:
5b382774
Parents:
dbd3dfb
Message:

ns: Fixed checking if a task is present in the hash table in ns_task_disconnect().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    rdbd3dfb r2696a76  
    409409       
    410410        link_t *link = hash_table_find(&task_hash_table, keys);
     411        if (link == NULL)
     412                return EOK;
     413
    411414        hashed_task_t *ht =
    412415            hash_table_get_instance(link, hashed_task_t, link);
    413         if (ht == NULL)
    414                 return EOK;
    415416       
    416417        ht->finished = true;
Note: See TracChangeset for help on using the changeset viewer.