be11b4eccd
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19301 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
501 B
Diff
19 lines
501 B
Diff
--- pptpd-1.3.4.orig/pqueue.c 2005-08-03 10:53:22.000000000 +0200
|
|
+++ pptpd-1.3.4/pqueue.c 2009-12-03 17:47:26.976174000 +0100
|
|
@@ -7,13 +7,11 @@
|
|
#include "pqueue.h"
|
|
|
|
#ifdef DEBUG_PQUEUE
|
|
-#define DEBUG_ON 1
|
|
+#define DEBUG_CMD(_a) { _a }
|
|
#else
|
|
-#define DEBUG_ON 0
|
|
+#define DEBUG_CMD(_a)
|
|
#endif
|
|
|
|
-#define DEBUG_CMD(_a) if (DEBUG_ON) { _a }
|
|
-
|
|
#define MIN_CAPACITY 128 /* min allocated buffer for a packet */
|
|
|
|
static int pqueue_alloc (int seq, unsigned char *packet, int packlen, pqueue_t **new);
|