RE: dkim_get_user_context/dkim_set_user_context inconsistency

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Mon, 18 Apr 2011 13:29:47 -0700

> -----Original Message-----
> From: opendkim-users-bounce_at_lists.opendkim.org [mailto:opendkim-users-bounce_at_lists.opendkim.org] On Behalf Of Nigel Horne
> Sent: Monday, April 18, 2011 1:11 PM
> To: opendkim-users_at_lists.opendkim.org
> Subject: dkim_get_user_context/dkim_set_user_context inconsistency
>
> I may be missing something fundamental here - but is there a reason
> that dkim_set_user_context takes const char *, whereas
> dkim_get_user_context returns a void *. Would it not be more
> consistent if set took const void *, or get returned char *?
>
> I'm sorry if this is a silly question, but it looks wrong to me.

It's documentation only. The code uses (const void *) for both already.
Received on Mon Apr 18 2011 - 20:29:54 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:20:17 PST