Navigation


Changeset 974:2091bf698fb1 in freeDiameter for libfdproto/fifo.c


Ignore:
Timestamp:
Mar 15, 2013, 2:14:35 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Remove newlines from fd_log_debug, TRACE_DEBUG, TRACE_ERROR, and TRACE_DEBUG_ERROR
(as far as sed could find them)
with manual fixing afterwards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/fifo.c

    r767 r974  
    115115                return;
    116116       
    117         fd_log_debug("Dumping queue '%s' (%p):\n", name ?: "?", queue);
     117        fd_log_debug("Dumping queue '%s' (%p):", name ?: "?", queue);
    118118        if (!CHECK_FIFO( queue )) {
    119                 fd_log_debug("  Queue invalid!\n");
     119                fd_log_debug("  Queue invalid!");
    120120                if (queue)
    121                         fd_log_debug("  (%x != %x)\n", queue->eyec, FIFO_EYEC);
     121                        fd_log_debug("  (%x != %x)", queue->eyec, FIFO_EYEC);
    122122                return;
    123123        }
    124124       
    125125        CHECK_POSIX_DO(  pthread_mutex_lock( &queue->mtx ), /* continue */  );
    126         fd_log_debug("   %d elements in queue / %d threads waiting\n", queue->count, queue->thrs);
    127         fd_log_debug("   %d elements max / %d threads waiting to push\n", queue->max, queue->thrs_push);
    128         fd_log_debug("   thresholds: %d / %d (h:%d), cb: %p,%p (%p), highest: %d\n",
     126        fd_log_debug("   %d elements in queue / %d threads waiting", queue->count, queue->thrs);
     127        fd_log_debug("   %d elements max / %d threads waiting to push", queue->max, queue->thrs_push);
     128        fd_log_debug("   thresholds: %d / %d (h:%d), cb: %p,%p (%p), highest: %d",
    129129                        queue->high, queue->low, queue->highest,
    130130                        queue->h_cb, queue->l_cb, queue->data,
     
    135135                int i = 0;
    136136                for (li = queue->list.next; li != &queue->list; li = li->next) {
    137                         fd_log_debug("  [%i] item %p in fifo %p:\n", i++, li->o, queue);
     137                        fd_log_debug("  [%i] item %p in fifo %p:", i++, li->o, queue);
    138138                        (*dump_item)(level, li->o);
    139139                }
Note: See TracChangeset for help on using the changeset viewer.