Check-in [bbd721a8cc]
Overview
Comment:Whitespace fix
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bbd721a8ccc5e78a7da0762e0043fa262bf4675e
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    234   #  define filed_logging_thread_init(x) 0
   235    235   #  define filed_log_msg_debug(x, ...) /**/
   236    236   #  define filed_log_msg(x, ...) /**/
   237    237   #  define filed_log_entry(x) /**/
   238    238   #  define filed_log_ip(x, ...) NULL
   239    239   #  define filed_log_new(x) &filed_dummy_log_entry
   240    240   #else
   241         -#ifdef FILED_DEBUG
   242         -#  define filed_log_msg_debug(x, ...) { fprintf(stderr, x, __VA_ARGS__); fprintf(stderr, "\n"); fflush(stderr); }
   243         -#else
   244         -#  define filed_log_msg_debug(x, ...) /**/
   245         -#endif
          241  +#  ifdef FILED_DEBUG
          242  +#    define filed_log_msg_debug(x, ...) { fprintf(stderr, x, __VA_ARGS__); fprintf(stderr, "\n"); fflush(stderr); }
          243  +#  else
          244  +#    define filed_log_msg_debug(x, ...) /**/
          245  +#  endif
   246    246   
   247    247   /* Initialize logging thread */
   248    248   static void *filed_logging_thread(void *arg_p) {
   249    249   	struct filed_logging_thread_args *arg;
   250    250   	struct filed_log_entry *curr, *prev;
   251    251   	time_t now;
   252    252   	FILE *fp;