Changeset 24254
- Timestamp:
- 10/13/13 01:18:52 (9 years ago)
- Location:
- titan/plugins/tithek
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/flashx.h
r24252 r24254 4 4 char* flashx(char* host, char* file, char* hosterurl) 5 5 { 6 debug(99, "host: %s file: %s", host, file); 6 debug(99, "host: %s", host); 7 debug(99, "file: %s", file); 7 8 debug(99, "hosterurl: %s", hosterurl); 9 int debuglevel = getconfigint("debuglevel", NULL); 8 10 char* tmphost = NULL; 9 11 char* tmppath = NULL; … … 40 42 debug(99, "send: %s", send); 41 43 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); 44 45 // writesys("/var/usr/local/share/titan/plugins/tithek//flashx_tmpstr_get1", tmpstr, 0); 45 46 //printf("\n#######################################################\n"); … … 82 83 tmpstr = gethttpreal(tmphost, tmppath, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1); 83 84 84 if(getconfigint("debuglevel", NULL) == 99) 85 writesys("/tmp/flashx_tmpstr_get2", tmpstr, 0); 85 titheklog(debuglevel, "/tmp/flashx_tmpstr_get2", NULL, tmpstr); 86 86 // writesys("/var/usr/local/share/titan/plugins/tithek//flashx_tmpstr_get2", tmpstr, 0); 87 87 //printf("\n#######################################################\n"); … … 126 126 tmpstr = gethttpreal(tmphost, "/player/show.php", 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1); 127 127 128 if(getconfigint("debuglevel", NULL) == 99) 129 writesys("/tmp/flashx_tmpstr_get3", tmpstr, 0); 128 titheklog(debuglevel, "/tmp/flashx_tmpstr_get3", NULL, tmpstr); 130 129 // writesys("/var/usr/local/share/titan/plugins/tithek//flashx_tmpstr_get3", tmpstr, 0); 131 130 //printf("\n#######################################################\n"); … … 161 160 tmpstr = gethttpreal(tmphost, tmppath, 80, NULL, NULL, NULL, 0, send, NULL, 5000, 1); 162 161 163 if(getconfigint("debuglevel", NULL) == 99) 164 writesys("/tmp/flashx_tmpstr_get4", tmpstr, 0); 162 titheklog(debuglevel, "/tmp/flashx_tmpstr_get4", NULL, tmpstr); 165 163 // writesys("/var/usr/local/share/titan/plugins/tithek//flashx_tmpstr_get4", tmpstr, 0); 166 164 //printf("\n#######################################################\n"); -
titan/plugins/tithek/zdf.h
r24238 r24254 37 37 tmpstr2 = string_replace_all("<formitaet basetype", "\n\t<formitaet basetype", tmpstr2, 1); 38 38 39 titheklog(debuglevel, "/tmp/zdf1_tmpstr2", NULL, tmpstr ");39 titheklog(debuglevel, "/tmp/zdf1_tmpstr2", NULL, tmpstr); 40 40 41 41 int count = 0, i = 0; … … 126 126 free(ip), ip = NULL; 127 127 128 titheklog(debuglevel, "/tmp/zdf2_streamurl", NULL, streamurl ");128 titheklog(debuglevel, "/tmp/zdf2_streamurl", NULL, streamurl); 129 129 130 130 // segfault munmap_chunk(): invalid pointer
Note: See TracChangeset
for help on using the changeset viewer.