Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/logger/initlvl.c

    ree3f6f6 ra7f7ed12  
    4444{
    4545        char *tmp;
    46         char *key = str_tok(setting, "=", &tmp);
    47         char *value = str_tok(tmp, "=", &tmp);
     46        char *key = strtok_r(setting, "=", &tmp);
     47        char *value = strtok_r(NULL, "=", &tmp);
    4848        if (key == NULL)
    4949                return;
     
    7676{
    7777        char *tmp;
    78         char *single_setting = str_tok(settings, " ", &tmp);
     78        char *single_setting = strtok_r(settings, " ", &tmp);
    7979        while (single_setting != NULL) {
    8080                parse_single_level_setting(single_setting);
    81                 single_setting = str_tok(tmp, " ", &tmp);
     81                single_setting = strtok_r(NULL, " ", &tmp);
    8282        }
    8383}
Note: See TracChangeset for help on using the changeset viewer.