mirror of
https://github.com/curl/curl.git
synced 2026-05-30 03:47:27 +03:00
parent
4c735b57f7
commit
13505dcb55
7 changed files with 20 additions and 20 deletions
|
|
@ -51,12 +51,12 @@ void dump(const char *text,
|
|||
/* without the hex output, we can fit more on screen */
|
||||
width = 0x40;
|
||||
|
||||
fprintf(stream, "%s, %10.10ld bytes (0x%8.8lx)\n",
|
||||
text, (long)size, (long)size);
|
||||
fprintf(stream, "%s, %10.10lu bytes (0x%8.8lx)\n",
|
||||
text, size, size);
|
||||
|
||||
for(i = 0; i<size; i += width) {
|
||||
|
||||
fprintf(stream, "%4.4lx: ", (long)i);
|
||||
fprintf(stream, "%4.4lx: ", i);
|
||||
|
||||
if(!nohex) {
|
||||
/* hex not disabled, show it */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue