Skip to content
Snippets Groups Projects
Commit 0b7fde02 authored by an7s's avatar an7s
Browse files

...

parent 5765e82a
No related branches found
No related tags found
No related merge requests found
......@@ -83,22 +83,24 @@ static void handleWrite(struct request *req, struct response *res)
// printf("WRITE %p %d\n", ptr, num_bytes);
char buf[1024];
/*
char buf[2048];
print_str2("handleWrite: #bytes: ");
itox(num_bytes, buf);
print_str2(buf);
print_str2("handleWrite: address: ");
print_str2("\nhandleWrite: address: ");
itox(ptr, buf);
print_str2(buf);
print_str2("\n");
*/
print_str2("handleWrite: [");
// print_str2("handleWrite: [");
for (i = 0; i < num_bytes; ++i)
{
((char*)ptr)[i] = bytes[i];
print_str2(&bytes[i]);
// print_str2(&bytes[i]);
}
print_str2("]\n");
// print_str2("]\n");
// read back for grins
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment