Overview
Comment: | Whitespace fix |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
bbd721a8ccc5e78a7da0762e0043fa26 |
User & Date: | rkeene on 2014-02-11 04:32:39 |
Other Links: | manifest | tags |
Context
2014-02-11
| ||
04:39 | Updated to use a thread-local variable for dummy log entries to avoid potential issues check-in: b8d6314870 user: rkeene tags: trunk | |
04:32 | Whitespace fix check-in: bbd721a8cc user: rkeene tags: trunk | |
04:26 | Updated to generate log entry only after transfer completes check-in: 273835a798 user: rkeene tags: trunk | |
Changes
Modified filed.c from [1d3989ed81] to [776212fe50].
︙ | ︙ | |||
234 235 236 237 238 239 240 | # define filed_logging_thread_init(x) 0 # define filed_log_msg_debug(x, ...) /**/ # define filed_log_msg(x, ...) /**/ # define filed_log_entry(x) /**/ # define filed_log_ip(x, ...) NULL # define filed_log_new(x) &filed_dummy_log_entry #else | | | | | | | 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | # define filed_logging_thread_init(x) 0 # define filed_log_msg_debug(x, ...) /**/ # define filed_log_msg(x, ...) /**/ # define filed_log_entry(x) /**/ # define filed_log_ip(x, ...) NULL # define filed_log_new(x) &filed_dummy_log_entry #else # ifdef FILED_DEBUG # define filed_log_msg_debug(x, ...) { fprintf(stderr, x, __VA_ARGS__); fprintf(stderr, "\n"); fflush(stderr); } # else # define filed_log_msg_debug(x, ...) /**/ # endif /* Initialize logging thread */ static void *filed_logging_thread(void *arg_p) { struct filed_logging_thread_args *arg; struct filed_log_entry *curr, *prev; time_t now; FILE *fp; |
︙ | ︙ |