Browse Source

* fix testutil

master
Alex 'AdUser' Z 9 years ago
parent
commit
28a69ad8da
  1. 2
      src/testutil.c

2
src/testutil.c

@ -33,7 +33,7 @@ int main(int argc, char *argv[]) {
fputs("fail: expected '<username> <password>' line\n", stdout);
continue;
}
if (oal_check_cred(config, username, password) == 0) {
if (oal_check_cred(config, username, password) > 0) {
fputs("ok\n", stdout);
} else {
fprintf(stderr, "fail: %s\n", config->error);

Loading…
Cancel
Save