jerenkrantz 01/07/08 11:39:15
Modified: memory/unix apr_sms_tracking.c Log: Thinko. This would cause a segfault if you tried to call realloc with this SMS. Revision Changes Path 1.21 +1 -1 apr/memory/unix/apr_sms_tracking.c Index: apr_sms_tracking.c =================================================================== RCS file: /home/cvs/apr/memory/unix/apr_sms_tracking.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- apr_sms_tracking.c 2001/07/03 18:54:13 1.20 +++ apr_sms_tracking.c 2001/07/08 18:39:15 1.21 @@ -92,7 +92,7 @@ #define SIZEOF_BLOCK_T APR_ALIGN_DEFAULT(sizeof(block_t)) #define SIZEOF_SMS_TRACKING_T APR_ALIGN_DEFAULT(sizeof(apr_sms_tracking_t)) -#define BLOCK_T(sms) ((block_t *)(mem)) +#define BLOCK_T(mem) ((block_t *)(mem)) #define SMS_TRACKING_T(sms) ((apr_sms_tracking_t *)(sms)) #define INSERT_BLOCK(block, tms) \
