Ignore:
Timestamp:
05/06/11 00:57:06 (9 years ago)
Author:
Admin
Message:

Some small fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-http-helpers.c

    r5166 r5183  
    334334    char *pch = authstring + 22;
    335335    char *pch2;
    336    
    337     pch = strtok (pch,",");
     336    char *save=NULL;
     337
     338    pch = strtok_r (pch,",",&save);
    338339    while (pch != NULL){
    339340        pch2 = pch;
     
    352353        username=parse_auth_value(pch2);
    353354      }
    354       pch = strtok (NULL, ",");
     355      pch = strtok_r (NULL, ",",&save);
    355356    }
    356357
Note: See TracChangeset for help on using the changeset viewer.