From 223246228c5224a91147a98dc394ea60efab81ef Mon Sep 17 00:00:00 2001 From: James Maki Date: Wed, 28 Apr 2010 09:57:12 -0500 Subject: optional at command init --- src/pdu_encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pdu_encode.c') 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); -- cgit v1.2.3