Changeset 36097


Ignore:
Timestamp:
Nov 6, 2015, 7:52:29 PM (4 years ago)
Author:
obi
Message:

fix tvtoast

File:
1 edited

Legend:

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

    r36092 r36097  
    300300        char* title = NULL, *pic = NULL;
    301301        char* typemsg = NULL;
    302         char* referer = NULL;
    303302        char* host = NULL;
    304303        char* path = NULL;
     
    337336                                url = string_resub("<a href=\"", "\"", ret1[i].part, 0);
    338337                                url = string_replace_all(" ", "%20", url, 1);
    339                                 tmpstr = gethttps(referer, NULL, NULL, NULL, NULL, NULL, 1);
     338                                tmpstr = gethttps(url, NULL, NULL, NULL, NULL, NULL, 1);
    340339                                host = string_resub("http://", "/", url, 0);
    341340                                path = string_replace_all(host, "", url, 0);
Note: See TracChangeset for help on using the changeset viewer.