Changeset 38988


Ignore:
Timestamp:
09/24/16 17:25:11 (6 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r34121 r38988  
    8282        titheklog(debuglevel, "/tmp/myvideo_tmpstr_error", NULL, NULL, NULL, tmpstr);
    8383                               
    84         if(ostrstr(error, "<div class='error sBold' id='error_screen_body'>") == NULL)
     84        if(ostrstr(error, "<div class='error sBold' id='error_screen_body'>") == NULL && error != NULL)
    8585        {
    8686                textbox(_("Message"), _(error) , _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1200, 200, 0, 0);
     
    127127                free(ret1), ret1 = NULL;
    128128
    129                 b64 = ostrcat("c8407a08b3c71ea418ec9dc662f2a56e40cbd6d5a114aa50fb1e1079e17f2b83", MDString(video_id), 0, 1);
     129                if(video_id != NULL)
     130                        b64 = ostrcat("c8407a08b3c71ea418ec9dc662f2a56e40cbd6d5a114aa50fb1e1079e17f2b83", MDString(video_id), 0, 1);
    130131                debug(99, "b64=%s", b64);
    131132
Note: See TracChangeset for help on using the changeset viewer.