diff options
Diffstat (limited to 'src/pdu_encode.c')
-rw-r--r-- | src/pdu_encode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdu_encode.c b/src/pdu_encode.c index 704bc5b..30cb4a9 100644 --- a/src/pdu_encode.c +++ b/src/pdu_encode.c @@ -72,8 +72,8 @@ int pdu_encode_timestamp(char *pdu_str, size_t len, struct tm *tm) snprintf(pdu_str + GMT_OFFSET_IDX, 2, "%X", off_upper & 0xF); snprintf(pdu_str + GMT_OFFSET_IDX + 1, 2, "%X", off_lower & 0xF); - nibble_swap(pdu_str, PDU_TIMESTAMP_LEN); strpad(pdu_str, PDU_TIMESTAMP_LEN, 'F'); + nibble_swap(pdu_str, PDU_TIMESTAMP_LEN); log_debug("%s", pdu_str); |