Changeset 24440


Ignore:
Timestamp:
10/19/13 18:49:03 (10 years ago)
Author:
nit
Message:

fix build

Location:
titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/movie4k.h

    r24437 r24440  
    255255                if(cpart != NULL)
    256256                {
    257                         if(ostrnstr(cpart, "&part=4", 7) != NULL)
     257                        if(ostrstr(cpart, "&part=4") != NULL)
    258258                                countj = 4;
    259                         else if(ostrnstr(cpart, "&part=3", 7) != NULL)
     259                        else if(ostrstr(cpart, "&part=3") != NULL)
    260260                                countj = 3;
    261                         else if(ostrnstr(cpart, "&part=2", 7) != NULL)
     261                        else if(ostrstr(cpart, "&part=2") != NULL)
    262262                                countj = 2;
    263                         else if(ostrnstr(cpart, "&part=1", 7) != NULL)
     263                        else if(ostrstr(cpart, "&part=1") != NULL)
    264264                                countj = 1;
    265265                               
  • titan/titan/global.h

    r24437 r24440  
    59035903}
    59045904
    5905 char* ostrnstr(char* str, char* search, int size)
    5906 {
    5907         char* ret = NULL;
    5908 
    5909         if(str == NULL || search == NULL) return NULL;
    5910         ret = strnstr(str, search, size);
    5911 
    5912         return ret;
    5913 }
    5914 
    59155905int file_exist(char* filename)
    59165906{
  • titan/titan/header.h

    r24438 r24440  
    696696void closeonexec(int fd);
    697697char* ostrstrcase(char* str, char* sub);
    698 char* ostrnstr(char* str, char* search, int size);
    699698char* getdevcontent(char* devconfig);
    700699char* getxmlentry(char *line, char *searchstr);
Note: See TracChangeset for help on using the changeset viewer.