summaryrefslogtreecommitdiff
path: root/lib/gnutls_priority.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-01-14 15:48:33 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-01-14 15:48:33 +0100
commitec4f7e418ef021a760dedc12ed9c3c8144a4e05d (patch)
tree7ac9934d31515ac8b8f3b82b8689ab7a36961158 /lib/gnutls_priority.c
parente8933138bb6f7efb90d7ad846b4b6dc5d8b97212 (diff)
downloadgnutls-ec4f7e418ef021a760dedc12ed9c3c8144a4e05d.tar.gz
The correct priority will be used if SYSTEM is not specified.
Diffstat (limited to 'lib/gnutls_priority.c')
-rw-r--r--lib/gnutls_priority.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c
index 8c96ec1eb6..d3120be610 100644
--- a/lib/gnutls_priority.c
+++ b/lib/gnutls_priority.c
@@ -936,6 +936,8 @@ size_t n, n2;
ret = p;
goto finish;
+ } else {
+ return strdup(p);
}
apply_backup: