From 1e35d676bf4774cc2e6639e6e44d1a7729eaf44d Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 2 Aug 2013 07:31:41 -0700 Subject: [PATCH] change constant name --- xwords4/relay/xwrelay.cpp | 2 +- xwords4/relay/xwrelay.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/relay/xwrelay.cpp b/xwords4/relay/xwrelay.cpp index 0d24ebaff..51a6bf3e1 100644 --- a/xwords4/relay/xwrelay.cpp +++ b/xwords4/relay/xwrelay.cpp @@ -1363,7 +1363,7 @@ msgToStr( XWRelayReg msg ) switch( msg ) { CASE_STR(XWPDEV_REG); CASE_STR(XWPDEV_REGRSP); - CASE_STR(XWPDEV_PING); + CASE_STR(XWPDEV_KEEPALIVE); CASE_STR(XWPDEV_HAVEMSGS); CASE_STR(XWPDEV_RQSTMSGS); CASE_STR(XWPDEV_MSG); diff --git a/xwords4/relay/xwrelay.h b/xwords4/relay/xwrelay.h index af9db79a7..2674f7c89 100644 --- a/xwords4/relay/xwrelay.h +++ b/xwords4/relay/xwrelay.h @@ -59,7 +59,7 @@ enum { XWPDEV_NONE /* 0 is an illegal value */ format: header, idLen: 2, id: */ - ,XWPDEV_PING /* device->relay: keep the UDP connection + ,XWPDEV_KEEPALIVE /* device->relay: keep the UDP connection open. header. */ ,XWPDEV_HAVEMSGS /* Relay->device: check messages for this