[PATCH] Fix typos in error messages
Martin Storsjo
martin at martin.st
Thu Nov 1 21:49:00 CET 2012
---
src/cli.c | 2 +-
src/serv.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cli.c b/src/cli.c
index 6064ad4..8c1df65 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -680,7 +680,7 @@ init_tls_session (const char *hostname)
ret = gnutls_srtp_set_profile_direct (session, OPT_ARG(SRTP_PROFILES), &err);
if (ret == GNUTLS_E_INVALID_REQUEST) fprintf (stderr, "Syntax error at: %s\n", err);
else
- fprintf(stderr, "Error in priorities: %s\n", gnutls_strerror(ret));
+ fprintf(stderr, "Error in profiles: %s\n", gnutls_strerror(ret));
exit (1);
}
diff --git a/src/serv.c b/src/serv.c
index db6b9e4..3541fbd 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -399,7 +399,7 @@ gnutls_session_t initialize_session (int dtls)
ret = gnutls_srtp_set_profile_direct (session, OPT_ARG(SRTP_PROFILES), &err);
if (ret == GNUTLS_E_INVALID_REQUEST) fprintf (stderr, "Syntax error at: %s\n", err);
else
- fprintf(stderr, "Error in priorities: %s\n", gnutls_strerror(ret));
+ fprintf(stderr, "Error in profiles: %s\n", gnutls_strerror(ret));
exit (1);
}
--
1.7.9.4
More information about the Gnutls-devel
mailing list