+ option_value.b = (BOOL) va_arg(ap, int);
+ context->internal->_debug_stderr = option_value.b;
+
+ } else if (strcmp(option_name, "debug_to_stderr") == 0) {
+ /*
+ * Log to standard error instead of standard output.
+ *
+ * This function used to take a third parameter,
+ * void *option_value. Since it was a void* and we needed to
+ * pass a boolean, a boolean value was cast to void* to be
+ * passed in. Now that we're using a va_list to retrieve the
+ * parameters, the casting kludge is unnecessary.
+ *
+ * WARNING: DO NOT USE THIS OPTION.
+ * This option is retained for backward compatibility. New
+ * applications should use "debug_to_stderr" and properly pass
+ * in a boolean (int) value.
+ */
+ option_value.v = va_arg(ap, void *);