Skip to content

Commit

Permalink
fixed a typo in the vasqHexDump output; changed version to 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeldan committed Jul 28, 2022
1 parent f588fb2 commit cecbee0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Vanilla Squad
=============

:Author: Daniel Walker
:Version: 6.0.1
:Date: 2022-07-27
:Version: 6.0.2
:Date: 2022-07-28

Overview
========
Expand Down
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
6.0.2:
- Fixed a typo in the vasqHexDump output.

6.0.1:
- Replaced the macro SYS_gettid with __NR_gettid.

Expand Down
2 changes: 1 addition & 1 deletion include/vasq/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* @brief Current version of the library.
*/
#define VASQ_VERSION "6.0.1"
#define VASQ_VERSION "6.0.2"

#ifndef NO_OP
#define NO_OP ((void)0)
Expand Down
2 changes: 1 addition & 1 deletion source/logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ vasqHexDump(const vasqLogger *logger, VASQ_CONTEXT_DECL, const char *name, const
remote_errno = errno;

logToBuffer(logger, dump_level, file_name, function_name, line_no, &dst, remaining,
"%s (%zu bytes%s):", name, size, (size == 1) ? "" : "s");
"%s (%zu byte%s):", name, size, (size == 1) ? "" : "s");
remaining -= (dst - output);

actual_dump_size = MIN(size, VASQ_HEXDUMP_SIZE);
Expand Down

0 comments on commit cecbee0

Please sign in to comment.