Commit 0c8e5985 0c8e598549a7cb99b9665f37814b006765344c43 by Sergey Poznyakoff

Minor changes

1 parent 5e590896
...@@ -66,7 +66,7 @@ pop_prompt_env (void) ...@@ -66,7 +66,7 @@ pop_prompt_env (void)
66 mu_assoc_install (assoc, "host", host); 66 mu_assoc_install (assoc, "host", host);
67 67
68 mu_assoc_install (assoc, "status", 68 mu_assoc_install (assoc, "status",
69 pop_session_str (pop_session_status)); 69 (void*) pop_session_str (pop_session_status));
70 } 70 }
71 71
72 72
......
...@@ -76,11 +76,12 @@ smtp_prompt_env (void) ...@@ -76,11 +76,12 @@ smtp_prompt_env (void)
76 76
77 if (smtp_session_status == smtp_session_logged_in && 77 if (smtp_session_status == smtp_session_logged_in &&
78 mu_smtp_get_param (smtp, MU_SMTP_PARAM_USERNAME, &value) == 0) 78 mu_smtp_get_param (smtp, MU_SMTP_PARAM_USERNAME, &value) == 0)
79 mu_assoc_install (assoc, "user", value); 79 mu_assoc_install (assoc, "user", (void*) value);
80 80
81 if (smtp_session_status != smtp_session_disconnected) 81 if (smtp_session_status != smtp_session_disconnected)
82 mu_assoc_install (assoc, "host", host); 82 mu_assoc_install (assoc, "host", host);
83 mu_assoc_install (assoc, "status", smtp_session_str (smtp_session_status)); 83 mu_assoc_install (assoc, "status",
84 (void*) smtp_session_str (smtp_session_status));
84 } 85 }
85 86
86 static void 87 static void
......