1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/textproc/rast/files/patch-local_db.c
Jun Kuriyama 17e4c5c865 - Unbreak by fixing incorrect pointer usage in APR_RING_SENTINEL macro.
# I'm not sure why this can be built before...
2008-08-20 03:51:46 +00:00

12 lines
560 B
C

--- src/local_db.c.orig 2008-08-20 12:45:58.597538000 +0900
+++ src/local_db.c 2008-08-20 12:46:33.000000000 +0900
@@ -2111,7 +2111,7 @@
encoding_module = docs[i]->db->encoding_module;
tf = APR_RING_FIRST(docs[i]->terms);
- if (tf == APR_RING_SENTINEL(&docs[i]->terms,
+ if (tf == APR_RING_SENTINEL(docs[i]->terms,
rast_term_frequency_t, link)) {
error = get_summary(pool, encoding_module,
summary, summary_nbytes,