ah4: Fix error return in ah_input().