Changeset 44846
- Timestamp:
- May 1, 2020, 1:16:28 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek.h
r44658 r44846 714 714 free(tmpstr); tmpstr = NULL; 715 715 716 /*717 716 debug(99, "---------------------------------------"); 718 717 debug(99, "link: %s", link); … … 725 724 debug(99, "pw: %s", pw); 726 725 debug(99, "---------------------------------------"); 727 */ 726 728 727 if(flag == 0) 729 728 { … … 2361 2360 */ 2362 2361 2362 if(!file_exist(tithekpic)) 2363 { 2364 debug(99, "not found: %s use default", tithekpic); 2365 free(tithekpic); tithekpic = NULL; 2366 tithekpic = ostrcat("/var/usr/local/share/titan/plugins/tithek/default.jpg", NULL, 0, 0); 2367 } 2363 2368 if(getconfigint("tithek_view", NULL) != 6 && getconfigint("tithek_cover", NULL) != 6) 2369 { 2370 debug(99, "changepic: %s", tithekpic); 2364 2371 changepic(tmp, tithekpic); 2372 } 2365 2373 free(tithekpic); tithekpic = NULL; 2366 2374 } … … 2386 2394 } 2387 2395 */ 2396 if(!file_exist(tithekpic)) 2397 { 2398 debug(99, "not found: %s use default", tithekpic); 2399 free(tithekpic); tithekpic = NULL; 2400 tithekpic = ostrcat("/var/usr/local/share/titan/plugins/tithek/default.jpg", NULL, 0, 0); 2401 } 2402 2388 2403 if(getconfigint("tithek_view", NULL) != 6 && getconfigint("tithek_cover", NULL) != 6) 2404 { 2405 debug(99, "changepic: %s", tithekpic); 2389 2406 changepic(tmp, tithekpic); 2407 } 2390 2408 free(tithekpic); tithekpic = NULL; 2391 2409 }
Note: See TracChangeset
for help on using the changeset viewer.