Changeset 24234 for titan/plugins/tithek/ard.h
- Timestamp:
- 10/12/13 14:56:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/ard.h
r24002 r24234 5 5 { 6 6 debug(99, "link %s", link); 7 int debuglevel = getconfigint("debuglevel", NULL); 7 8 char* ip = NULL, *pos = NULL, *path = NULL, *streamurl = NULL, *tmpstr = NULL; 8 9 … … 18 19 19 20 tmpstr = gethttp(ip, path, 80, NULL, NULL, 10000, NULL, 0); 20 if(getconfigint("debuglevel", NULL) == 99) 21 writesys("/tmp/ard1_tmpstr", tmpstr, 0); 21 titheklog(debuglevel, "/tmp/ard1_tmpstr", NULL, tmpstr); 22 22 23 23 // writesys("/var/usr/local/share/titan/plugins/tithek/ard1_tmpstr", tmpstr, 0); … … 49 49 free(ip), ip = NULL; 50 50 51 if(getconfigint("debuglevel", NULL) == 99) 52 writesys("/tmp/ard2_streamurl", streamurl, 0); 51 titheklog(debuglevel, "/tmp/ard2_streamurl", NULL, streamurl); 53 52 54 53 // segfault munmap_chunk(): invalid pointer
Note: See TracChangeset
for help on using the changeset viewer.