Changeset 4022513 in mainline for uspace/srv/devman/devman.c


Ignore:
Timestamp:
2011-07-24T12:53:44Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45cae6b
Parents:
8fd04ba9
Message:

Devman should use str_dup(), no need for clone_string().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.c

    r8fd04ba9 r4022513  
    422422        }
    423423       
    424         insert_fun_node(tree, fun, clone_string(""), NULL);
     424        insert_fun_node(tree, fun, str_dup(""), NULL);
    425425        match_id_t *id = create_match_id();
    426         id->id = clone_string("root");
     426        id->id = str_dup("root");
    427427        id->score = 100;
    428428        add_match_id(&fun->match_ids, id);
Note: See TracChangeset for help on using the changeset viewer.