diff options
Diffstat (limited to 'xlators/features/changelog/src/changelog-helpers.c')
| -rw-r--r-- | xlators/features/changelog/src/changelog-helpers.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/features/changelog/src/changelog-helpers.c b/xlators/features/changelog/src/changelog-helpers.c index c1bb6e5fe..7ab0091b5 100644 --- a/xlators/features/changelog/src/changelog-helpers.c +++ b/xlators/features/changelog/src/changelog-helpers.c @@ -21,6 +21,7 @@  #include "changelog-helpers.h"  #include "changelog-mem-types.h" +#include "changelog-encoders.h"  #include <pthread.h>  void @@ -201,7 +202,7 @@ changelog_open (xlator_t *this,          (void) snprintf (buffer, 1024, CHANGELOG_HEADER,                           CHANGELOG_VERSION_MAJOR,                           CHANGELOG_VERSION_MINOR, -                         priv->encode_mode); +                         priv->ce->encoder);          ret = changelog_write_change (priv, buffer, strlen (buffer));          if (ret) {                  close (priv->changelog_fd); @@ -267,6 +268,7 @@ changelog_handle_change (xlator_t *this,          int ret = 0;          if (CHANGELOG_TYPE_IS_ROLLOVER (cld->cld_type)) { +                changelog_encode_change(priv);                  ret = changelog_start_next_change (this, priv,                                                     cld->cld_roll_time,                                                     cld->cld_finale);  | 
