Changeset 30990
- Timestamp:
- 11/13/14 15:04:01 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/pip.h
r30989 r30990 444 444 int pipswap(struct service *node) 445 445 { 446 char* tmpstr = ostrcat(node->channellist, NULL, 0, 0);446 char* tmpstr = NULL; 447 447 struct channel* chnodeP = node->channel; 448 448 struct channel* chnodeT = status.aktservice->channel; … … 451 451 { 452 452 pipstop(node, 0); 453 tmpstr = ostrcat(node->channellist, NULL, 0, 0); 453 454 servicecheckret(servicestart(chnodeP, tmpstr, NULL, 0), 0); 455 free(tmpstr); tmpstr = NULL; 456 454 457 pipstart(chnodeT, NULL, 0); 458 free(node->channellist); 459 node->channellist = ostrcat(status.lastservice->channellist, NULL, 0, 0); 455 460 } 456 461 else … … 525 530 if(rcret == getrcconfigint("rcblue", NULL)) 526 531 { 527 pipswap( );532 pipswap(status.pipservice); 528 533 continue; 529 534 }
Note: See TracChangeset
for help on using the changeset viewer.