Changeset 24254


Ignore:
Timestamp:
10/13/13 01:18:52 (9 years ago)
Author:
obi
Message:

fix merge

Location:
titan/plugins/tithek
Files:
2 edited

Legend:

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

    r24252 r24254  
    44char* flashx(char* host, char* file, char* hosterurl)
    55{
    6         debug(99, "host: %s file: %s", host, file);
     6        debug(99, "host: %s", host);
     7        debug(99, "file: %s", file);
    78        debug(99, "hosterurl: %s", hosterurl);
     9        int debuglevel = getconfigint("debuglevel", NULL);
    810        char* tmphost = NULL;
    911        char* tmppath = NULL;
     
    4042        debug(99, "send: %s", send);
    4143        tmpstr = gethttpreal(tmphost, tmppath, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1);
    42         if(getconfigint("debuglevel", NULL) == 99)
    43                 writesys("/tmp/flashx_tmpstr_get1", tmpstr, 0);
     44        titheklog(debuglevel, "/tmp/flashx_tmpstr_get1", NULL, tmpstr);
    4445//      writesys("/var/usr/local/share/titan/plugins/tithek//flashx_tmpstr_get1", tmpstr, 0);
    4546//printf("\n#######################################################\n");
     
    8283        tmpstr = gethttpreal(tmphost, tmppath, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1);
    8384
    84         if(getconfigint("debuglevel", NULL) == 99)
    85                 writesys("/tmp/flashx_tmpstr_get2", tmpstr, 0);
     85        titheklog(debuglevel, "/tmp/flashx_tmpstr_get2", NULL, tmpstr);
    8686//      writesys("/var/usr/local/share/titan/plugins/tithek//flashx_tmpstr_get2", tmpstr, 0);
    8787//printf("\n#######################################################\n");
     
    126126        tmpstr = gethttpreal(tmphost, "/player/show.php", 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1);
    127127
    128         if(getconfigint("debuglevel", NULL) == 99)
    129                 writesys("/tmp/flashx_tmpstr_get3", tmpstr, 0);
     128        titheklog(debuglevel, "/tmp/flashx_tmpstr_get3", NULL, tmpstr);
    130129//      writesys("/var/usr/local/share/titan/plugins/tithek//flashx_tmpstr_get3", tmpstr, 0);
    131130//printf("\n#######################################################\n");
     
    161160        tmpstr = gethttpreal(tmphost, tmppath, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1);
    162161
    163         if(getconfigint("debuglevel", NULL) == 99)
    164                 writesys("/tmp/flashx_tmpstr_get4", tmpstr, 0);
     162        titheklog(debuglevel, "/tmp/flashx_tmpstr_get4", NULL, tmpstr);
    165163//      writesys("/var/usr/local/share/titan/plugins/tithek//flashx_tmpstr_get4", tmpstr, 0);
    166164//printf("\n#######################################################\n");
  • titan/plugins/tithek/zdf.h

    r24238 r24254  
    3737                tmpstr2 = string_replace_all("<formitaet basetype", "\n\t<formitaet basetype", tmpstr2, 1);
    3838
    39                 titheklog(debuglevel, "/tmp/zdf1_tmpstr2", NULL, tmpstr");
     39                titheklog(debuglevel, "/tmp/zdf1_tmpstr2", NULL, tmpstr);
    4040               
    4141                int count = 0, i = 0;   
     
    126126        free(ip), ip = NULL;
    127127
    128         titheklog(debuglevel, "/tmp/zdf2_streamurl", NULL, streamurl");
     128        titheklog(debuglevel, "/tmp/zdf2_streamurl", NULL, streamurl);
    129129
    130130// segfault munmap_chunk(): invalid pointer
Note: See TracChangeset for help on using the changeset viewer.