tests
This commit is contained in:
@@ -266,11 +266,11 @@ static int tests_ncpf2_read_one(char *name, UI cx_mode)
|
||||
else
|
||||
cx = sizeof(repl.data); /* alternate: reply buffer size */
|
||||
|
||||
fprintf(stdout, "NCPF2DBG name=%s func=57 conn=%u cx=%u mode=%u req.len=%u repl.max=%u\n",
|
||||
name, connid, cx, cx_mode, (UI)(p - req.data), (UI)sizeof(repl.data));
|
||||
fprintf(stdout, "NCPF2DBG name=%s func=57 conn=%u cx=%u dx=%u mode=%u req.len=%u repl.max=%u\n",
|
||||
name, connid, cx, (UI)sizeof(repl.data), cx_mode, (UI)(p - req.data), (UI)sizeof(repl.data));
|
||||
tests_dump_bytes("NCPF2DBG req:", req.data, (p - req.data) > 64 ? 64 : (int)(p - req.data));
|
||||
|
||||
rc = Net_Call_F2_C((UI)connid, 0x57, cx, req.data, repl.data);
|
||||
rc = Net_Call_F2_C(0x57, cx, (UI)sizeof(repl.data), req.data, repl.data);
|
||||
|
||||
fprintf(stdout, "NCPF2DBG rc=%04X\n", rc);
|
||||
tests_dump_bytes("NCPF2DBG repl:", repl.data, 64);
|
||||
|
||||
Reference in New Issue
Block a user