workaround: do not treat ?H1 as an illegal answer to H1 (for IPS)

This commit is contained in:
zolliker
2013-06-07 06:46:06 +00:00
parent 0217b1d14c
commit b3b0aad93f

View File

@ -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;
}
}
}
}