Changeset 28295
- Timestamp:
- 04/02/14 09:44:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/httpdfunc.h
r28294 r28295 4485 4485 if(volbartimeout != NULL) addconfigtmp("volbartimeout", volbartimeout); 4486 4486 debug(77, "volbartimeout: %s", volbartimeout); 4487 free(volbartimeout); volbartimeout = NULL; 4487 4488 4488 4489 tmpstr = ostrcat(param, NULL, 0, 0); … … 4493 4494 if(infobartimeout != NULL) addconfigtmp("infobartimeout", infobartimeout); 4494 4495 debug(77, "infobartimeout: %s", infobartimeout); 4496 free(infobartimeout); infobartimeout = NULL; 4495 4497 4496 4498 tmpstr = ostrcat(param, NULL, 0, 0); … … 4501 4503 if(infobarsleep != NULL) addconfigtmp("infobarsleep", infobarsleep); 4502 4504 debug(77, "infobarsleep: %s", infobarsleep); 4503 4505 free(infobarsleep); infobarsleep = NULL; 4506 4504 4507 tmpstr = ostrcat(param, NULL, 0, 0); 4505 4508 if(tmpstr != NULL) spinnerspeed = ostrstr(tmpstr, "spinnerspeed="); … … 4509 4512 if(spinnerspeed != NULL) addconfigtmp("spinnerspeed", spinnerspeed); 4510 4513 debug(77, "spinnerspeed: %s", spinnerspeed); 4514 free(spinnerspeed); spinnerspeed = NULL; 4511 4515 4512 4516 tmpstr = ostrcat(param, NULL, 0, 0); … … 4517 4521 if(spinnertime != NULL) addconfigtmp("spinnertime", spinnertime); 4518 4522 debug(77, "spinnertime: %s", spinnertime); 4523 free(spinnertime); spinnertime = NULL; 4519 4524 4520 4525 tmpstr = ostrcat(param, NULL, 0, 0); … … 4525 4530 if(hangtime != NULL) addconfigtmp("hangtime", hangtime); 4526 4531 debug(77, "hangtime: %s", hangtime); 4532 free(hangtime); hangtime = NULL; 4527 4533 4528 4534 tmpstr = ostrcat(param, NULL, 0, 0); 4529 if(tmpstr != NULL) secondinfobar = ostrstr( param, "secondinfobar=");4535 if(tmpstr != NULL) secondinfobar = ostrstr(tmpstr, "secondinfobar="); 4530 4536 free(tmpstr); tmpstr = NULL; 4531 4537 if(secondinfobar != NULL) secondinfobar = secondinfobar + 14; … … 4533 4539 if(secondinfobar != NULL) addconfigtmp("secondinfobar", secondinfobar); 4534 4540 debug(77, "secondinfobar: %s", secondinfobar); 4541 free(secondinfobar); secondinfobar = NULL; 4535 4542 4536 4543 tmpstr = ostrcat(param, NULL, 0, 0); … … 4541 4548 if(nozapclear != NULL) addconfigtmp("nozapclear", nozapclear); 4542 4549 debug(77, "nozapclear: %s", nozapclear); 4550 free(nozapclear); nozapclear = NULL; 4543 4551 4544 4552 tmpstr = ostrcat(param, NULL, 0, 0); … … 4549 4557 if(fastzap != NULL) addconfigtmp("fastzap", fastzap); 4550 4558 debug(77, "fastzap: %s", fastzap); 4559 free(fastzap); fastzap = NULL; 4551 4560 4552 4561 tmpstr = ostrcat(param, NULL, 0, 0); … … 4557 4566 if(faststop != NULL) addconfigtmp("faststop", faststop); 4558 4567 debug(77, "faststop: %s", faststop); 4568 free(faststop); faststop = NULL; 4559 4569 4560 4570 tmpstr = ostrcat(param, NULL, 0, 0); … … 4565 4575 if(dirsort != NULL) addconfigtmp("dirsort", dirsort); 4566 4576 debug(77, "dirsort: %s", dirsort); 4577 free(dirsort); dirsort = NULL; 4567 4578 4568 4579 tmpstr = ostrcat(param, NULL, 0, 0); … … 4573 4584 if(poweraktion != NULL) addconfigtmp("poweraktion", poweraktion); 4574 4585 debug(77, "poweraktion: %s", poweraktion); 4586 free(poweraktion); poweraktion = NULL; 4575 4587 4576 4588 tmpstr = ostrcat(param, NULL, 0, 0); … … 4581 4593 if(virtualzap != NULL) addconfigtmp("virtualzap", virtualzap); 4582 4594 debug(77, "virtualzap: %s", virtualzap); 4595 free(virtualzap); virtualzap = NULL; 4583 4596 4584 4597 tmpstr = ostrcat(param, NULL, 0, 0); … … 4589 4602 if(fasttextrender != NULL) addconfigtmp("fasttextrender", fasttextrender); 4590 4603 debug(77, "fasttextrender: %s", fasttextrender); 4604 free(fasttextrender); fasttextrender = NULL; 4591 4605 4592 4606 tmpstr = ostrcat(param, NULL, 0, 0); … … 4597 4611 if(recsplitsize != NULL) addconfigtmp("recsplitsize", recsplitsize); 4598 4612 debug(77, "recsplitsize: %s", recsplitsize); 4613 free(recsplitsize); recsplitsize = NULL; 4599 4614 4600 4615 tmpstr = ostrcat(param, NULL, 0, 0); … … 4605 4620 if(recforerun != NULL) addconfigtmp("recforerun", recforerun); 4606 4621 debug(77, "recforerun: %s", recforerun); 4622 free(recforerun); recforerun = NULL; 4607 4623 4608 4624 tmpstr = ostrcat(param, NULL, 0, 0); … … 4613 4629 if(recoverrun != NULL) addconfigtmp("recoverrun", recoverrun); 4614 4630 debug(77, "recoverrun: %s", recoverrun); 4631 free(recoverrun); recoverrun = NULL; 4615 4632 4616 4633 tmpstr = ostrcat(param, NULL, 0, 0); … … 4621 4638 if(skip13 != NULL) addconfigtmp("skip13", skip13); 4622 4639 debug(77, "skip13: %s", skip13); 4640 free(skip13); skip13 = NULL; 4623 4641 4624 4642 tmpstr = ostrcat(param, NULL, 0, 0); … … 4629 4647 if(skip46 != NULL) addconfigtmp("skip46", skip46); 4630 4648 debug(77, "skip46: %s", skip46); 4649 free(skip46); skip46 = NULL; 4631 4650 4632 4651 tmpstr = ostrcat(param, NULL, 0, 0); … … 4637 4656 if(skip79 != NULL) addconfigtmp("skip79", skip79); 4638 4657 debug(77, "skip79: %s", skip79); 4658 free(skip79); skip79 = NULL; 4639 4659 4640 4660 tmpstr = ostrcat(param, NULL, 0, 0); … … 4645 4665 if(playertype != NULL) addconfigtmp("playertype", playertype); 4646 4666 debug(77, "playertype: %s", playertype); 4667 free(playertype); playertype = NULL; 4647 4668 4648 4669 tmpstr = ostrcat(param, NULL, 0, 0); … … 4653 4674 if(autochangechannelname != NULL) addconfigtmp("autochangechannelname", autochangechannelname); 4654 4675 debug(77, "autochangechannelname: %s", autochangechannelname); 4676 free(autochangechannelname); autochangechannelname = NULL; 4655 4677 4656 4678 tmpstr = ostrcat(param, NULL, 0, 0); … … 4661 4683 if(def_rectimer_after != NULL) addconfigtmp("def_rectimer_after", def_rectimer_after); 4662 4684 debug(77, "def_rectimer_after: %s", def_rectimer_after); 4685 free(def_rectimer_after); def_rectimer_after = NULL; 4663 4686 4664 4687 tmpstr = ostrcat(param, NULL, 0, 0); … … 4669 4692 if(showchanneltimeline != NULL) addconfigtmp("showchanneltimeline", showchanneltimeline); 4670 4693 debug(77, "showchanneltimeline: %s", showchanneltimeline); 4694 free(showchanneltimeline); showchanneltimeline = NULL; 4671 4695 4672 4696 tmpstr = ostrcat(param, NULL, 0, 0); … … 4677 4701 if(screenanim != NULL) addconfigtmp("screenanim", screenanim); 4678 4702 debug(77, "screenanim: %s", screenanim); 4703 free(screenanim); screenanim = NULL; 4679 4704 4680 4705 tmpstr = ostrcat(param, NULL, 0, 0); … … 4685 4710 if(screenanimspeed != NULL) addconfigtmp("screenanimspeed", screenanimspeed); 4686 4711 debug(77, "screenanimspeed: %s", screenanimspeed); 4712 free(screenanimspeed); screenanimspeed = NULL; 4687 4713 4688 4714 tmpstr = ostrcat(param, NULL, 0, 0); … … 4693 4719 if(channellistview != NULL) addconfigtmp("channellistview", channellistview); 4694 4720 debug(77, "channellistview: %s", channellistview); 4721 free(channellistview); channellistview = NULL; 4695 4722 4696 4723 tmpstr = ostrcat(param, NULL, 0, 0); … … 4701 4728 if(showlastpos != NULL) addconfigtmp("showlastpos", showlastpos); 4702 4729 debug(77, "showlastpos: %s", showlastpos); 4730 free(showlastpos); showlastpos = NULL; 4703 4731 4704 4732 tmpstr = ostrcat(param, NULL, 0, 0); … … 4709 4737 if(recsync != NULL) addconfigtmp("recsync", recsync); 4710 4738 debug(77, "recsync: %s", recsync); 4739 free(recsync); recsync = NULL; 4711 4740 4712 4741 tmpstr = ostrcat(param, NULL, 0, 0); … … 4717 4746 if(recordnamefmt != NULL) addconfigtmp("recordnamefmt", recordnamefmt); 4718 4747 debug(77, "recordnamefmt: %s", recordnamefmt); 4748 free(recordnamefmt); recordnamefmt = NULL; 4719 4749 4720 4750 tmpstr = ostrcat(param, NULL, 0, 0); … … 4725 4755 if(newsletter != NULL) addconfigtmp("newsletter", newsletter); 4726 4756 debug(77, "newsletter: %s", newsletter); 4757 free(newsletter); newsletter = NULL; 4727 4758 4728 4759 tmpstr = ostrcat(param, NULL, 0, 0); … … 4733 4764 if(showhiddenfiles != NULL) addconfigtmp("showhiddenfiles", showhiddenfiles); 4734 4765 debug(77, "showhiddenfiles: %s", showhiddenfiles); 4766 free(showhiddenfiles); showhiddenfiles = NULL; 4735 4767 4736 4768 tmpstr = ostrcat(param, NULL, 0, 0); … … 4741 4773 if(expertmodus != NULL) addconfigtmp("expertmodus", expertmodus); 4742 4774 debug(77, "expertmodus: %s", expertmodus); 4775 free(expertmodus); expertmodus = NULL; 4743 4776 4744 4777 tmpstr = ostrcat(param, NULL, 0, 0); … … 4749 4782 if(infobarprogram != NULL) addconfigtmp("infobarprogram", infobarprogram); 4750 4783 debug(77, "infobarprogram: %s", infobarprogram); 4784 free(infobarprogram); infobarprogram = NULL; 4751 4785 4752 4786 tmpstr = ostrcat(param, NULL, 0, 0); … … 4757 4791 if(emucontrol != NULL) addconfigtmp("emucontrol", emucontrol); 4758 4792 debug(77, "emucontrol: %s", emucontrol); 4793 free(emucontrol); emucontrol = NULL; 4759 4794 4760 4795 tmpstr = ostrcat(param, NULL, 0, 0); … … 4765 4800 if(choiceminitv != NULL) addconfigtmp("choiceminitv", choiceminitv); 4766 4801 debug(77, "choiceminitv: %s", choiceminitv); 4802 free(choiceminitv); choiceminitv = NULL; 4767 4803 4768 4804 tmpstr = ostrcat(param, NULL, 0, 0); … … 4773 4809 if(usecec != NULL) addconfigtmp("usecec", usecec); 4774 4810 debug(77, "usecec: %s", usecec); 4811 free(usecec); usecec = NULL; 4775 4812 4776 4813 tmpstr = ostrcat(param, NULL, 0, 0); … … 4781 4818 if(playerbufferseektime != NULL) addconfigtmp("playerbufferseektime", playerbufferseektime); 4782 4819 debug(77, "playerbufferseektime: %s", playerbufferseektime); 4820 free(playerbufferseektime); playerbufferseektime = NULL; 4783 4821 4784 4822 buf = webadjust(NULL, fmt);
Note: See TracChangeset
for help on using the changeset viewer.