Skip to content
Browse files

fix spelling of sendUdpOk

  • Loading branch information...
1 parent 6b17acb commit 3b9f1da416094a29b78b1078135a943e0acca5fe @willscott willscott committed
View
4 oneswarm_f2f/src/edu/washington/cs/oneswarm/f2f/datagram/DatagramConnection.java
@@ -373,7 +373,7 @@ public void okMessageReceived() {
sendState = SendState.ACTIVE;
logger.fine(toString() + "State set to " + sendState);
} else if (sendState == SendState.INIT_SENT) {
- sendUpdOK();
+ sendUdpOK();
sendState = SendState.UDP_OK_SENT;
}
}
@@ -417,7 +417,7 @@ public void sendMessage(OSF2FMessage message) {
}
}
- public void sendUpdOK() {
+ public void sendUdpOK() {
// We need to have received the remote init packet to be able to send.
if (!(receiveState == ReceiveState.OK_SENT || receiveState == ReceiveState.ACTIVE)) {
return;
View
2 oneswarm_f2f/src/edu/washington/cs/oneswarm/f2f/network/FriendConnection.java
@@ -639,7 +639,7 @@ public void doKeepAliveCheck() {
new BTKeepAlive(OSF2FMessage.CURRENT_VERSION), false);
}
if (udpConnection != null && udpConnection.getLastMessageSentTime() > KEEP_ALIVE_FREQ) {
- udpConnection.sendUpdOK();
+ udpConnection.sendUdpOK();
}
}

0 comments on commit 3b9f1da

Please sign in to comment.
Something went wrong with that request. Please try again.