source: freewrt/package/pptpd/patches/bad-pqueue-debug.patch@ 428f140

freewrt_1_0 freewrt_2_0
Last change on this file since 428f140 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 560 bytes
  • pptpd-1.3.0/pqueue.c

    diff -urN pptpd-1.3.0/pqueue.c.orig pptpd-1.3.0/pqueue.c
    old new  
    66#include "pqueue.h"
    77
    88#ifdef DEBUG_PQUEUE
    9 #define DEBUG_ON 1
     9#define DEBUG_CMD(_a) { _a }
    1010#else
    11 #define DEBUG_ON 0
     11#define DEBUG_CMD(_a)
    1212#endif
    1313
    14 #define DEBUG_CMD(_a) if (DEBUG_ON) { _a }
    15 
    16 
    1714#define MIN_CAPACITY 128 /* min allocated buffer for a packet */
    1815
    1916static int pqueue_alloc (int seq, unsigned char *packet, int packlen, pqueue_t **new);
Note: See TracBrowser for help on using the repository browser.