Commit 47d2d882 authored by Joanne Hugé's avatar Joanne Hugé

Put DEBUG ifdefs around prints in process_timestamps

parent 9076ab67
...@@ -244,8 +244,10 @@ static void process_timestamps(struct packet_timestamps *packet_ts) { ...@@ -244,8 +244,10 @@ static void process_timestamps(struct packet_timestamps *packet_ts) {
struct timespec *stamp = (struct timespec *)CMSG_DATA(cmsg); struct timespec *stamp = (struct timespec *)CMSG_DATA(cmsg);
packet_ts->kernel_leave = ts_to_uint(*stamp); packet_ts->kernel_leave = ts_to_uint(*stamp);
} else { } else {
#ifdef DEBUG
fprintf(stderr, "process_timestamps: level %d type %d", cmsg->cmsg_level, fprintf(stderr, "process_timestamps: level %d type %d", cmsg->cmsg_level,
cmsg->cmsg_type); cmsg->cmsg_type);
#endif
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment