From: Nikos Mavrogiannopoulos Date: Sun, 20 Feb 2011 20:15:07 +0000 (+0100) Subject: renamed internal function to reflect functionality. X-Git-Tag: gnutls_2_99_0~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024e46e556767d9b04a217e7acc4ae1987d0f6b6;p=thirdparty%2Fgnutls.git renamed internal function to reflect functionality. --- diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c index 2ac4ce98e5..ebbeede710 100644 --- a/lib/gnutls_record.c +++ b/lib/gnutls_record.c @@ -692,10 +692,11 @@ record_check_version (gnutls_session_t session, } /* This function will check if the received record type is - * the one we actually expect. + * the one we actually expect and adds it to the proper + * buffer. */ static int -record_check_type (gnutls_session_t session, +record_add (gnutls_session_t session, content_type_t recv_type, content_type_t type, gnutls_handshake_description_t htype, opaque * data, int data_size) @@ -1143,7 +1144,7 @@ begin: } ret = - record_check_type (session, recv_type, type, htype, tmp.data, + record_add (session, recv_type, type, htype, tmp.data, decrypted_length); if (ret < 0) {