2213 tempLength = strlen(
message.description);
2214 if ((strlen(
lastMessage.description) + tempLength) >=
2215 MSG_DESCRIPTION_SIZE) {
2219 (MSG_DESCRIPTION_SIZE - tempLength));
2220 message.description[MSG_DESCRIPTION_SIZE - 1] = 0;
2223 strcpy((
message.description + tempLength),
2226 tempLength - 1] = 0;
2230 now = localtime(&timeVal);
2231 message.date[strftime(
message.date, MSG_DATE_SIZE,
"%Y-%m-%d %H:%M:%S",
static MessageStruct message
#define dis_update_service
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
static unsigned short replicatedMsgCount
static MessageStruct lastMessage
sprintf(name1,"NewService%d", i)
static unsigned int messageServiceID