Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv31615/src
Modified Files:
proto-p10.c
Log Message:
Remove a redundant call to GetChannel() in the burst parser
(eliminates a dict lookup).
Index: proto-p10.c
===================================================================
RCS file: /cvsroot/srvx/services/src/proto-p10.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** proto-p10.c 21 Jan 2003 00:56:19 -0000 1.59
--- proto-p10.c 24 Jan 2003 22:56:03 -0000 1.60
***************
*** 1001,1006 ****
in_timestamp = atoi(argv[2]);
if (self->burst
! && dict_find(unbursted_channels, argv[1], NULL)
! && (cNode = GetChannel(argv[1]))) {
cNode->timestamp = in_timestamp;
dict_remove(unbursted_channels, cNode->name);
--- 1001,1005 ----
in_timestamp = atoi(argv[2]);
if (self->burst
! && (cNode = dict_find(unbursted_channels, argv[1], NULL))) {
cNode->timestamp = in_timestamp;
dict_remove(unbursted_channels, cNode->name);
|