From 2ff5468aeec17df165356a4f541502a5497a80d9 Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Mon, 30 May 2016 21:01:59 +0200 Subject: [PATCH] Typo --- net/SessionManager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/SessionManager.c b/net/SessionManager.c index 79f7bbdb7..d0cf6e28d 100644 --- a/net/SessionManager.c +++ b/net/SessionManager.c @@ -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);