Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdelisle committed May 30, 2016
1 parent 3169b1a commit 2ff5468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/SessionManager.c
Expand Up @@ -476,9 +476,9 @@ static Iface_DEFUN readyToSend(struct Message* msg,
Assert_true((uint8_t*)sh == msg->bytes);

if (!sh->label_be) {
Bits_memset(&header->sh, 0, SwitchHeader_SIZE);
Bits_memset(sh, 0, SwitchHeader_SIZE);
sh->label_be = Endian_hostToBigEndian64(sess->pub.sendSwitchLabel);
SwitchHeader_setVersion(&header->sh, SwitchHeader_CURRENT_VERSION);
SwitchHeader_setVersion(sh, SwitchHeader_CURRENT_VERSION);
}

return Iface_next(&sm->pub.switchIf, msg);
Expand Down

0 comments on commit 2ff5468

Please sign in to comment.