From b3b0aad93ffa498d78b5cf971615cfb9471f8265 Mon Sep 17 00:00:00 2001 From: zolliker Date: Fri, 7 Jun 2013 06:46:06 +0000 Subject: [PATCH] workaround: do not treat ?H1 as an illegal answer to H1 (for IPS) --- oxinst.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oxinst.c b/oxinst.c index 78c3a09..375bd23 100644 --- a/oxinst.c +++ b/oxinst.c @@ -110,7 +110,9 @@ int OxiHandler(void *object) } } if (eab->cmd[0] != eab->ans[0] && eab->cmd[0] != '{') { - iret = EASE_ILL_ANS; + if (strcmp(eab->cmd, "H1\r") != 0 || strcmp(eab->ans, "?H1") != 0) { + iret = EASE_ILL_ANS; + } } } }