Subversion Repositories HelenOS

Rev

Rev 2927 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 4348
Line 101... Line 101...
101
{
101
{
102
    u32 id12 = id_pair(id1, id2);
102
    u32 id12 = id_pair(id1, id2);
103
    u32 id34 = id_pair(id3, id4);
103
    u32 id34 = id_pair(id3, id4);
104
    unsigned int h = id_hash(cat, id12, id34);
104
    unsigned int h = id_hash(cat, id12, id34);
105
    struct id_entry *n = a->id_hash[h];
105
    struct id_entry *n = a->id_hash[h];
106
    int len = strlen((char *) text);
106
    int len = str_size((char *) text);
107
 
107
 
108
    while (n && (n->id12 != id12 || n->id34 != id34 || n->cat != cat))
108
    while (n && (n->id12 != id12 || n->id34 != id34 || n->cat != cat))
109
        n = n->next;
109
        n = n->next;
110
    if (n)
110
    if (n)
111
        return 1;
111
        return 1;