Corrected typo
authorSansar Choinyambuu <schoinya@hsr.ch>
Wed, 17 Aug 2011 14:35:35 +0000 (16:35 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 8 Sep 2011 10:08:10 +0000 (12:08 +0200)
src/libimcv/tcg/tcg_pts_attr_file_meas.c

index c2f04a9..ee47558 100644 (file)
@@ -273,7 +273,7 @@ METHOD(tcg_pts_attr_file_meas_t, add_file_meas, void,
 /**
  * Enumerate file measurement entries
  */
-static bool port_filter(void *null, file_meas_entry_t **entry, chunk_t *measurement, 
+static bool measurement_filter(void *null, file_meas_entry_t **entry, chunk_t *measurement, 
                                                void *i2, u_int16_t *file_name_len,
                                                void *i3, chunk_t *file_name)
 {
@@ -287,7 +287,7 @@ METHOD(tcg_pts_attr_file_meas_t, create_file_meas_enumerator, enumerator_t*,
        private_tcg_pts_attr_file_meas_t *this)
 {
        return enumerator_create_filter(this->measurements->create_enumerator(this->measurements),
-                                       (void*)port_filter, NULL, NULL);
+                                       (void*)measurement_filter, NULL, NULL);
 }
 
 /**