Update of /cvsroot/linux-decnet/latd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2942
Modified Files:
server.cc
Log Message:
Don't do two increments in one sequence point, sigh.
Index: server.cc
===================================================================
RCS file: /cvsroot/linux-decnet/latd/server.cc,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -r1.80 -r1.81
*** server.cc 5 Mar 2005 11:24:54 -0000 1.80
--- server.cc 6 Mar 2005 13:37:51 -0000 1.81
***************
*** 1236,1246 ****
debuglog(("REVLAT cmd: %d, opcode:%d request_id: %d\n", msg->cmd, msg->opcode, msg->request_id));
! ptr += buf[ptr++]; // Skip past groups for now.
! ptr += buf[ptr++]; // Skip past groups for now.
// Get the remote node name.
get_string(buf, &ptr, remnode);
get_string(buf, &ptr, remport);
! ptr+= buf[ptr++]; // Skip past greeting...
get_string(buf, &ptr, service);
get_string(buf, &ptr, portname);
--- 1236,1246 ----
debuglog(("REVLAT cmd: %d, opcode:%d request_id: %d\n", msg->cmd, msg->opcode, msg->request_id));
! ptr += buf[ptr]+1; // Skip past groups for now.
! ptr += buf[ptr]+1; // Skip past groups for now.
// Get the remote node name.
get_string(buf, &ptr, remnode);
get_string(buf, &ptr, remport);
! ptr += buf[ptr]+1; // Skip past greeting...
get_string(buf, &ptr, service);
get_string(buf, &ptr, portname);
|