Subversion Repositories heating

Rev

Rev 46 | Rev 50 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 46 Rev 49
Line 510... Line 510...
510
		HTCONF *p;
510
		HTCONF *p;
511
 
511
 
512
		p = HeatConf;
512
		p = HeatConf;
513
 
513
 
514
		while (p->next)
514
		while (p->next)
-
 
515
		{
-
 
516
			if (p->rnum == ht->rnum)
-
 
517
			{
-
 
518
				p->soll = ht->soll;
-
 
519
				p->night = ht->night;
-
 
520
				p->minimal = ht->minimal;
-
 
521
				p->start1 = ht->start1;
-
 
522
				p->end1 = ht->end1;
-
 
523
				p->start2 = p->start2;
-
 
524
				p->end2 = p->end2;
-
 
525
				delete akt;
-
 
526
				return p;
-
 
527
			}
-
 
528
 
515
			p = p->next;
529
			p = p->next;
-
 
530
		}
516
 
531
 
517
		p->next = akt;
532
		p->next = akt;
518
	}
533
	}
519
 
534
 
520
	debug("html::addConfig(): rname="+ToString(akt->rname)+", rnum="+itostring(akt->rnum));
535
	debug("html::addConfig(): rname="+ToString(akt->rname)+", rnum="+itostring(akt->rnum));