Changeset 39969 for titan/plugins/tithek


Ignore:
Timestamp:
02/10/17 13:24:04 (7 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r39967 r39969  
    14921492        }
    14931493
    1494         printf("tmpstr1: %s\n", tmpstr1);
     1494//      printf("tmpstr1: %s\n", tmpstr1);
    14951495
    14961496        if(!ostrncmp("errormsg=", tmpstr1, 9))
    14971497        {
    1498                 tmpstr2 = string_resub("errormsg='", "'", tmpstr1, 0); 
    1499                 tmpstr = ostrcat(_("Found error Msg:"), "\n\n", 0, 0);
    1500                 tmpstr = ostrcat(tmpstr, tmpstr2, 1, 0);
    1501                 printf("Found error Msg: %s\n", tmpstr2);
    1502                 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 600, 0, 0);
    1503                 free(tmpstr); tmpstr = NULL;
     1498//              tmpstr2 = string_resub("errormsg='", "'", tmpstr1, 0); 
     1499//              tmpstr = ostrcat(_("Found error Msg:"), "\n\n", 0, 0);
     1500//              tmpstr = ostrcat(tmpstr, tmpstr2, 1, 0);
     1501
     1502                tmpstr1 = string_replace_all("errormsg=", "", tmpstr1, 1);
     1503
     1504                printf("Found error Msg: %s\n", tmpstr1);
     1505                textbox(_("Message"), tmpstr1, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 600, 0, 0);
     1506//              free(tmpstr); tmpstr = NULL;
    15041507                free(tmpstr1); tmpstr1 = NULL;
    1505                 free(tmpstr2); tmpstr2 = NULL;
     1508//              free(tmpstr2); tmpstr2 = NULL;
    15061509        }
    15071510        else if(ostrncmp("http", tmpstr1, 4) && ostrncmp("rtmp", tmpstr1, 4) && ostrncmp("mms", tmpstr1, 3) && ostrncmp("rtsp", tmpstr1, 4))
    15081511        {
    1509                 tmpstr = ostrcat(_("Error cant find http*|rtmp*|mms*|rtsp* Stream Link"), "\n\n", 0, 0);
     1512                tmpstr = ostrcat(_("Parsing Error cant find http*|rtmp*|mms*|rtsp* Stream Link"), "\n\n", 0, 0);
    15101513                tmpstr = ostrcat(tmpstr, tmpstr1, 1, 0);
    1511                 printf("Error cant find http*|rtmp*|mms*|rtsp* Stream Link: %s\n", tmpstr1);
     1514                printf("Parsing Error cant find http*|rtmp*|mms*|rtsp* Stream Link: %s\n", tmpstr1);
    15121515                textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 600, 0, 0);
    15131516                free(tmpstr); tmpstr = NULL;
Note: See TracChangeset for help on using the changeset viewer.