Re: What should go into 1.5.7?
On 2005-01-26 15:30:12 +0100, Ralf Wildenhues wrote:
> Sorry, Thomas, my fault, but please look at it again:
yuck, you're right. That comes from patching in a rush...
diff -u -r3.3 status.c
--- status.c 26 Jan 2005 12:21:46 -0000 3.3
+++ status.c 26 Jan 2005 14:31:09 -0000
@@ -266,7 +266,7 @@
if (!optional)
{
snprintf (fmt, sizeof(fmt), "%%%ss", prefix);
- snprintf (buf, buflen, fmt, NONULL (Context->pattern));
+ snprintf (buf, buflen, fmt, (Context && Context->pattern) ?
Context->pattern : "(null)");
}
else if (!Context || !Context->pattern)
optional = 0;
Regards,
--
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.