Skip to content

Commit

Permalink
hotplace rev.496 grooming
Browse files Browse the repository at this point in the history
  • Loading branch information
princeb612 committed Apr 19, 2024
1 parent a819bcc commit e67db21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/httptest/sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -708,10 +708,10 @@ void test_get_tlsclient() {
group.add(&http);

ret = cli.read(sock, handle, buf, sizeof(buf), &sizeread);
stream_read.produce(buf, sizeread);
stream_read.produce((byte_t*)buf, sizeread);
while (errorcode_t::more_data == ret) {
ret = cli.more(sock, handle, buf, sizeof(buf), &sizeread);
stream_read.produce(buf, sizeread);
stream_read.produce((byte_t*)buf, sizeread);
}

stream_read.write(&group, &stream_interpreted);
Expand Down
4 changes: 2 additions & 2 deletions test/string/sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ void test_scan() {
_test_case.assert(true, __FUNCTION__, "scan");

basic_stream bs;
dump_memory((byte_t*)data, strlen(data), &bs, 16, 0, 0x0, dump_memory_flag_t::header);
dump_memory((byte_t*)data, strlen(data), &bs, 16, 0, 0x0, dump_memory_flag_t::dump_header);
std::cout << bs.c_str() << std::endl;
}

Expand All @@ -282,7 +282,7 @@ void test_scan2() {
_test_case.assert(true, __FUNCTION__, "scan");

basic_stream bs;
dump_memory((byte_t*)data, strlen(data), &bs, 16, 0, 0x0, dump_memory_flag_t::header);
dump_memory((byte_t*)data, strlen(data), &bs, 16, 0, 0x0, dump_memory_flag_t::dump_header);
std::cout << bs.c_str() << std::endl;
}

Expand Down

0 comments on commit e67db21

Please sign in to comment.