diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-22 21:44:15 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-22 21:44:15 +0000 |
commit | 05f001b19dea73e5d2b6e16ddf7a7daa0f14b174 (patch) | |
tree | deb443c5164bfb6f15a90fa7178f6f75044d945d /mail.remote | |
parent | a72eb831a177db6c061170e34f6fe6612f0f148c (diff) | |
download | mailutils-05f001b19dea73e5d2b6e16ddf7a7daa0f14b174.tar.gz mailutils-05f001b19dea73e5d2b6e16ddf7a7daa0f14b174.tar.bz2 |
Renamed mu_errstring to mu_strerror for consistency with the usual practice.
Diffstat (limited to 'mail.remote')
-rw-r--r-- | mail.remote/mail.remote.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mail.remote/mail.remote.c b/mail.remote/mail.remote.c index ec9107a68..d8b952bbf 100644 --- a/mail.remote/mail.remote.c +++ b/mail.remote/mail.remote.c | |||
@@ -149,7 +149,7 @@ main (int argc, char **argv) | |||
149 | if ((status = address_create (&from, optfrom))) | 149 | if ((status = address_create (&from, optfrom))) |
150 | { | 150 | { |
151 | fprintf (stderr, _("Parsing from addresses failed: %s\n"), | 151 | fprintf (stderr, _("Parsing from addresses failed: %s\n"), |
152 | mu_errstring (status)); | 152 | mu_strerror (status)); |
153 | goto end; | 153 | goto end; |
154 | } | 154 | } |
155 | } | 155 | } |
@@ -161,33 +161,33 @@ main (int argc, char **argv) | |||
161 | if ((status = address_createv (&to, (const char **) av, -1))) | 161 | if ((status = address_createv (&to, (const char **) av, -1))) |
162 | { | 162 | { |
163 | fprintf (stderr, _("Parsing to addresses failed: %s\n"), | 163 | fprintf (stderr, _("Parsing to addresses failed: %s\n"), |
164 | mu_errstring (status)); | 164 | mu_strerror (status)); |
165 | goto end; | 165 | goto end; |
166 | } | 166 | } |
167 | } | 167 | } |
168 | 168 | ||
169 | if ((status = stdio_stream_create (&in, stdin, MU_STREAM_SEEKABLE))) | 169 | if ((status = stdio_stream_create (&in, stdin, MU_STREAM_SEEKABLE))) |
170 | { | 170 | { |
171 | fprintf (stderr, _("Failed: %s\n"), mu_errstring (status)); | 171 | fprintf (stderr, _("Failed: %s\n"), mu_strerror (status)); |
172 | goto end; | 172 | goto end; |
173 | } | 173 | } |
174 | 174 | ||
175 | if ((status = stream_open (in))) | 175 | if ((status = stream_open (in))) |
176 | { | 176 | { |
177 | fprintf (stderr, _("Opening stdin failed: %s\n"), mu_errstring (status)); | 177 | fprintf (stderr, _("Opening stdin failed: %s\n"), mu_strerror (status)); |
178 | goto end; | 178 | goto end; |
179 | } | 179 | } |
180 | 180 | ||
181 | if ((status = message_create (&msg, NULL))) | 181 | if ((status = message_create (&msg, NULL))) |
182 | { | 182 | { |
183 | fprintf (stderr, _("Failed: %s\n"), mu_errstring (status)); | 183 | fprintf (stderr, _("Failed: %s\n"), mu_strerror (status)); |
184 | goto end; | 184 | goto end; |
185 | } | 185 | } |
186 | 186 | ||
187 | if ((status = message_set_stream (msg, in, NULL))) | 187 | if ((status = message_set_stream (msg, in, NULL))) |
188 | { | 188 | { |
189 | fprintf (stderr, _("Failed: %s\n"), | 189 | fprintf (stderr, _("Failed: %s\n"), |
190 | mu_errstring (status)); | 190 | mu_strerror (status)); |
191 | goto end; | 191 | goto end; |
192 | } | 192 | } |
193 | 193 | ||
@@ -196,7 +196,7 @@ main (int argc, char **argv) | |||
196 | const char *url = NULL; | 196 | const char *url = NULL; |
197 | mailer_get_url_default (&url); | 197 | mailer_get_url_default (&url); |
198 | fprintf (stderr, _("Creating mailer '%s' failed: %s\n"), | 198 | fprintf (stderr, _("Creating mailer '%s' failed: %s\n"), |
199 | url, mu_errstring (status)); | 199 | url, mu_strerror (status)); |
200 | goto end; | 200 | goto end; |
201 | } | 201 | } |
202 | 202 | ||
@@ -215,19 +215,19 @@ main (int argc, char **argv) | |||
215 | const char *url = NULL; | 215 | const char *url = NULL; |
216 | mailer_get_url_default (&url); | 216 | mailer_get_url_default (&url); |
217 | fprintf (stderr, _("Opening mailer '%s' failed: %s\n"), | 217 | fprintf (stderr, _("Opening mailer '%s' failed: %s\n"), |
218 | url, mu_errstring (status)); | 218 | url, mu_strerror (status)); |
219 | goto end; | 219 | goto end; |
220 | } | 220 | } |
221 | 221 | ||
222 | if ((status = mailer_send_message (mailer, msg, from, to))) | 222 | if ((status = mailer_send_message (mailer, msg, from, to))) |
223 | { | 223 | { |
224 | fprintf (stderr, _("Sending message failed: %s\n"), mu_errstring (status)); | 224 | fprintf (stderr, _("Sending message failed: %s\n"), mu_strerror (status)); |
225 | goto end; | 225 | goto end; |
226 | } | 226 | } |
227 | 227 | ||
228 | if ((status = mailer_close (mailer))) | 228 | if ((status = mailer_close (mailer))) |
229 | { | 229 | { |
230 | fprintf (stderr, _("Closing mailer failed: %s\n"), mu_errstring (status)); | 230 | fprintf (stderr, _("Closing mailer failed: %s\n"), mu_strerror (status)); |
231 | goto end; | 231 | goto end; |
232 | } | 232 | } |
233 | 233 | ||