X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fsmtp%2Fsmtp_util.h;h=ea2433c7992f1129e92db1230a5eab692acccd26;hp=4f9b1d01194b832bb1f7babc04f37023925e8462;hb=80f14552e61c41057242205ad967d0a3fb6b98ff;hpb=cf0a9f2f49278453b5f4a72f11bf49e8b98d5e79 diff --git a/citadel/modules/smtp/smtp_util.h b/citadel/modules/smtp/smtp_util.h index 4f9b1d011..ea2433c79 100644 --- a/citadel/modules/smtp/smtp_util.h +++ b/citadel/modules/smtp/smtp_util.h @@ -13,7 +13,7 @@ const char *smtp_get_Recipients(void); -typedef struct _citsmtp { /* Information about the current session */ +struct citsmtp { /* Information about the current session */ int command_state; StrBuf *Cmd; StrBuf *helo_node; @@ -28,9 +28,9 @@ typedef struct _citsmtp { /* Information about the current session */ int is_msa; StrBuf *preferred_sender_email; StrBuf *preferred_sender_name; -} citsmtp; +}; -#define SMTP ((citsmtp *)CC->session_specific_data) +#define SMTP ((struct citsmtp *)CC->session_specific_data) // These are all the values that can be passed to the is_final parameter of smtp_do_bounce() enum {