From 22b48e0beba8b7c247c7f394497471ea7e948828 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 3 Jul 2013 18:23:51 +0200 Subject: corrected typo --- lib/gnutls_priority.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c index ed4565aa9f..d85707e5c4 100644 --- a/lib/gnutls_priority.c +++ b/lib/gnutls_priority.c @@ -563,7 +563,7 @@ prio_remove (priority_st * priority_list, unsigned int algo) if (priority_list->priority[i] == algo) { priority_list->algorithms--; - if (priority_list->algorithms-i) > 0) + if ((priority_list->algorithms-i) > 0) memmove(&priority_list->priority[i], &priority_list->priority[i+1], (priority_list->algorithms-i)*sizeof(priority_list->priority[0])); break; } -- cgit v1.2.1