Mercurial > hg > freeDiameter
comparison libfdproto/messages.c @ 1084:6b7966ea27fb
Fix a few compilation issues
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Fri, 03 May 2013 15:33:57 +0800 |
parents | 74bba7975864 |
children | 7d7266115a34 |
comparison
equal
deleted
inserted
replaced
1083:d0017c5dde61 | 1084:6b7966ea27fb |
---|---|
718 | 718 |
719 /* Dump a msg_t object */ | 719 /* Dump a msg_t object */ |
720 static int obj_dump_msg (struct msg * msg, int indent, char **outstr, size_t *offset, size_t *outlen ) | 720 static int obj_dump_msg (struct msg * msg, int indent, char **outstr, size_t *offset, size_t *outlen ) |
721 { | 721 { |
722 int ret = 0; | 722 int ret = 0; |
723 char buftime[256]; | |
724 size_t tsoffset = 0; | |
725 struct tm tm; | |
726 | 723 |
727 CHECK_FCT( dump_add_str(outstr, offset, outlen, "%*sMSG: %p|", INOBJHDRVAL, msg) ); | 724 CHECK_FCT( dump_add_str(outstr, offset, outlen, "%*sMSG: %p|", INOBJHDRVAL, msg) ); |
728 | 725 |
729 if (!CHECK_MSG(msg)) { | 726 if (!CHECK_MSG(msg)) { |
730 CHECK_FCT( dump_add_str(outstr, offset, outlen, INOBJHDR "INVALID!", INOBJHDRVAL) ); | 727 CHECK_FCT( dump_add_str(outstr, offset, outlen, INOBJHDR "INVALID!", INOBJHDRVAL) ); |