Changeset 39963


Ignore:
Timestamp:
02/10/17 11:48:56 (6 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r39961 r39963  
    14921492        }
    14931493
    1494         if(ostrncmp("http", tmpstr1, 4) && ostrncmp("rtmp", tmpstr1, 4) && ostrncmp("mms", tmpstr1, 3) && ostrncmp("rtsp", tmpstr1, 4))
    1495         {
    1496                 tmpstr = ostrcat(_("Error cant find http*|rtmp*|mms*|rtsp* Stream Link"), "\n\n", 0, 0);
    1497                 tmpstr = ostrcat(tmpstr, tmpstr1, 1, 0);
    1498                 printf("Streamurl3: not http*|rtmp*|mms*|rtsp* Streamurl: %s\n", tmpstr1);
    1499                 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 600, 0, 0);
    1500                 free(tmpstr); tmpstr = NULL;
    1501                 free(tmpstr1); tmpstr1 = NULL;
    1502         }
    1503         else if(ostrncmp("errormsg=", tmpstr1, 9))
     1494        if(ostrncmp("errormsg=", tmpstr1, 9))
    15041495        {
    15051496                tmpstr2 = string_resub("errormsg='", "'", tmpstr1, 0); 
     
    15111502                free(tmpstr1); tmpstr1 = NULL;
    15121503                free(tmpstr2); tmpstr2 = NULL;
     1504        }
     1505        else if(ostrncmp("http", tmpstr1, 4) && ostrncmp("rtmp", tmpstr1, 4) && ostrncmp("mms", tmpstr1, 3) && ostrncmp("rtsp", tmpstr1, 4))
     1506        {
     1507                tmpstr = ostrcat(_("Error cant find http*|rtmp*|mms*|rtsp* Stream Link"), "\n\n", 0, 0);
     1508                tmpstr = ostrcat(tmpstr, tmpstr1, 1, 0);
     1509                printf("Streamurl3: not http*|rtmp*|mms*|rtsp* Streamurl: %s\n", tmpstr1);
     1510                textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 600, 0, 0);
     1511                free(tmpstr); tmpstr = NULL;
     1512                free(tmpstr1); tmpstr1 = NULL;
    15131513        }
    15141514        else if(tmpstr1 != NULL)
Note: See TracChangeset for help on using the changeset viewer.