From 77b92b7b6f92e8a5496de7a4544b5d2502752f01 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 10 Apr 2013 14:50:10 +0000 Subject: [PATCH] micro synergy patch by Bruce Oberg --- src/micro/uSynergy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/micro/uSynergy.c b/src/micro/uSynergy.c index 655ab8cf..a8d01da4 100644 --- a/src/micro/uSynergy.c +++ b/src/micro/uSynergy.c @@ -479,7 +479,7 @@ static void sUpdateContext(uSynergyContext *context) int receive_size = USYNERGY_RECEIVE_BUFFER_SIZE - context->m_receiveOfs; int num_received = 0; int packlen = 0; - if (context->m_receiveFunc(context->m_cookie, context->m_receiveBuffer, receive_size, &num_received) == USYNERGY_FALSE) + if (context->m_receiveFunc(context->m_cookie, context->m_receiveBuffer + context->m_receiveOfs, receive_size, &num_received) == USYNERGY_FALSE) { /* Receive failed, let's try to reconnect */ char buffer[128];