From 8be4bd5f5167c69284f03acf1a046b3855df017c Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 22 Feb 2019 17:55:09 -0800 Subject: [PATCH] fix defines and compile that then broke --- xwords4/common/smsproto.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xwords4/common/smsproto.c b/xwords4/common/smsproto.c index b000696ff..06c5176bd 100644 --- a/xwords4/common/smsproto.c +++ b/xwords4/common/smsproto.c @@ -34,9 +34,8 @@ /* To match the SMSService format */ # define SMS_PROTO_VERSION_JAVA 1 - -# define SMS_PROTO_VERSION 1 # define SMS_PROTO_VERSION_COMBO 2 +# define SMS_PROTO_VERSION SMS_PROTO_VERSION_JAVA # define PARTIALS_FORMAT 0 @@ -302,7 +301,7 @@ smsproto_prepInbound( SMSProto* state, const XP_UCHAR* fromPhone, XP_U8 proto; if ( stream_gotU8( stream, &proto ) ) { switch ( proto ) { - case SMS_PROTO_VERSION: { + case SMS_PROTO_VERSION_JAVA: { XP_U8 msgID, indx, count; if ( stream_gotU8( stream, &msgID ) && stream_gotU8( stream, &indx )