Changeset 41857 for titan/plugins


Ignore:
Timestamp:
Jan 30, 2018, 9:41:55 PM (2 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r41855 r41857  
    272272
    273273//      tmpstr = gethttp(ip, path, 80, NULL, NULL, 10000, NULL, 0);
    274         newurl = ostrcat(getconfig("tithek_kinox_url", NULL), "/", 0, 0);
    275         newurl = ostrcat(newurl, path, 1, 0);
    276         tmpstr = gethttps(newurl, NULL, NULL, NULL, NULL, NULL, 1);
    277         free(newurl), newurl = NULL;
     274        tmpstr = gethttps(link, NULL, NULL, NULL, NULL, NULL, 1);
    278275        titheklog(debuglevel, "/tmp/kinox2_tmpstr", NULL, NULL, NULL, tmpstr);
    279276       
     
    789786
    790787//      tmpstr = gethttp(ip, path, 80, NULL, NULL, 10000, NULL, 0);
    791         newurl = ostrcat(getconfig("tithek_kinox_url", NULL), "/", 0, 0);
    792         debug(99, "newurl1: %s", newurl);
    793         newurl = ostrcat(newurl, path, 1, 0);
    794         debug(99, "newurl2: %s", newurl);
    795 
    796         tmpstr = gethttps(newurl, NULL, NULL, NULL, NULL, NULL, 1);
     788        tmpstr = gethttps(link, NULL, NULL, NULL, NULL, NULL, 1);
    797789        debug(99, "tmpstr: %s", tmpstr);
    798790
Note: See TracChangeset for help on using the changeset viewer.