summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-01-04 17:16:42 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-01-04 17:16:42 +0000
commitd56fde2d16113fa30b68379d40c4087cf2fd84e5 (patch)
tree1a1d1a4d5c84342ba9dd05026f6e22dc7a869602 /auth
parentbd178bb676dcbb88aacd25293ebb7c098be98a31 (diff)
downloadmailutils-d56fde2d16113fa30b68379d40c4087cf2fd84e5.tar.gz
mailutils-d56fde2d16113fa30b68379d40c4087cf2fd84e5.tar.bz2
Revise error messages for accordance with GNU standards:
begin messages with a capital letter, unless they are prefixed with `file:line:' or their exact look is important due to compatibility reasons. Do not end messages with a period. Avoid using contracted negations.
Diffstat (limited to 'auth')
-rw-r--r--auth/sql.c8
-rw-r--r--auth/tls.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/auth/sql.c b/auth/sql.c
index ba3673bbe..4d78b39d5 100644
--- a/auth/sql.c
+++ b/auth/sql.c
@@ -317,7 +317,7 @@ mu_auth_sql_by_name (struct mu_auth_data **return_data,
if (status)
{
- mu_error (_("cannot store SQL result: %s"),
+ mu_error (_("Cannot store SQL result: %s"),
(status == MU_ERR_SQL) ? mu_sql_strerror (conn) :
mu_strerror (status));
mu_sql_connection_destroy (&conn);
@@ -451,7 +451,7 @@ mu_auth_sql_by_uid (struct mu_auth_data **return_data,
if (status)
{
- mu_error (_("cannot store SQL result: %s"),
+ mu_error (_("Cannot store SQL result: %s"),
(status == MU_ERR_SQL) ? mu_sql_strerror (conn) :
mu_strerror (status));
mu_sql_connection_destroy (&conn);
@@ -581,7 +581,7 @@ mu_sql_authenticate (struct mu_auth_data **return_data ARG_UNUSED,
if (status)
{
- mu_error (_("cannot store SQL result: %s"),
+ mu_error (_("Cannot store SQL result: %s"),
(status == MU_ERR_SQL) ? mu_sql_strerror (conn) :
mu_strerror (status));
mu_sql_connection_destroy (&conn);
@@ -591,7 +591,7 @@ mu_sql_authenticate (struct mu_auth_data **return_data ARG_UNUSED,
status = mu_sql_get_column (conn, 0, 0, &sql_pass);
if (status)
{
- mu_error (_("cannot get password from SQL: %s"),
+ mu_error (_("Cannot get password from SQL: %s"),
(status == MU_ERR_SQL) ? mu_sql_strerror (conn) :
mu_strerror (status));
mu_sql_release_result (conn);
diff --git a/auth/tls.c b/auth/tls.c
index 905d299ad..07e2737d9 100644
--- a/auth/tls.c
+++ b/auth/tls.c
@@ -185,7 +185,7 @@ mu_check_tls_environment (void)
}
if ((st.st_mode & S_IRWXG) || (st.st_mode & S_IRWXO))
{
- mu_error (_("Wrong permissions on %s. Set 0600."), ssl_key);
+ mu_error (_("Wrong permissions on %s. Set 0600"), ssl_key);
return 0;
}
}

Return to:

Send suggestions and report system problems to the System administrator.