diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-07-03 18:23:51 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-07-03 18:23:51 +0200 |
commit | 22b48e0beba8b7c247c7f394497471ea7e948828 (patch) | |
tree | 39aed7252b01cf9c39d7c21ab29e64faa134678f | |
parent | c60e9dd483108c9b364a99b0c20cff84ede7987f (diff) | |
download | gnutls-22b48e0beba8b7c247c7f394497471ea7e948828.tar.gz |
corrected typo
-rw-r--r-- | lib/gnutls_priority.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |