summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-10-01 20:34:07 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-10-01 20:34:07 +0000
commite2432d0574dc579ff4d09aac6da069801082e58f (patch)
tree389818e32778167ef21889c86de399da796e346b /firmware
parent2fa107415737f4f9498cabd974320b51fbd15f33 (diff)
re-define REQ_CTX_STATE_FREE != 0 to detect bugs
git-svn-id: https://svn.openpcd.org:2342/trunk@247 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware')
-rw-r--r--firmware/src/os/req_ctx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/src/os/req_ctx.h b/firmware/src/os/req_ctx.h
index 505e841..2df8497 100644
--- a/firmware/src/os/req_ctx.h
+++ b/firmware/src/os/req_ctx.h
@@ -20,7 +20,7 @@ struct req_ctx {
u_int8_t *data;
};
-#define RCTX_STATE_FREE 0x00
+#define RCTX_STATE_FREE 0xfe
#define RCTX_STATE_UDP_RCV_BUSY 0x01
#define RCTX_STATE_UDP_RCV_DONE 0x02
#define RCTX_STATE_MAIN_PROCESSING 0x03
personal git repositories of Harald Welte. Your mileage may vary