httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Rooney <roo...@electricjellyfish.net>
Subject [PATCH] mod_smtpd const warning
Date Mon, 19 Sep 2005 04:18:12 GMT
The set_id_string function in smtp_core.c currently triggers a warning
by assigning a const char * to smtpd_svr_config_rec::sId, which is
non-const.

I can't imagine we really want people messing with the contents of the
id string, so the best fix seems to be just making sId a const char *.
 A patch that corrects the problem is attached.

-garrett

Mime
View raw message