You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Garrett Rooney <ro...@electricjellyfish.net> on 2005/09/19 06:18:12 UTC

[PATCH] mod_smtpd const warning

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