"ANSWER modem" hfaxd command with no method sends "any" as the method.
faxanswer defaults to an empty method, but lists "any" as a valid method
in the man page.This method was not accepted by faxgetty. This adds the
"any" method as an alias to no method at all.
switch (cp[0]) {
case 'A': // answer the phone
traceServer("ANSWER %s", cp[1] != '\0' ? cp+1 : "any");
- if (cp[1] != '\0') {
+ if (cp[1] != '\0' && !streq(cp+1, "any")) {
if (streq(cp+1, "fax"))
answerPhoneCmd(ClassModem::ANSTYPE_FAX);
else if (streq(cp+1, "data"))