version 1.2.2.14, 2012/06/20 12:43:41
|
version 1.2.2.15, 2012/06/20 14:51:38
|
Line 163 pubRX(sched_task_t *task)
|
Line 163 pubRX(sched_task_t *task)
|
/* send to output */ |
/* send to output */ |
tim = time(NULL); |
tim = time(NULL); |
strftime(szTime, sizeof szTime, "%Y-%m-%d %H:%M:%S", localtime(&tim)); |
strftime(szTime, sizeof szTime, "%Y-%m-%d %H:%M:%S", localtime(&tim)); |
fprintf(TASK_ARG(task), "\n[%s] Message ID: 0x%04hu, Length: %u, Topic: %s\n", | fprintf(TASK_ARG(task), "\n[%s] Message ID: %04hu, Length: %u, Topic: %s\n", |
szTime, mid, siz, szTopic); |
szTime, mid, siz, szTopic); |
|
|
if (data) { |
if (data) { |