Skip to content

Commit

Permalink
event_flatstore: fixed delete and parse for expire
Browse files Browse the repository at this point in the history
  • Loading branch information
ionel-cerghit committed Jul 2, 2015
1 parent 60f2c6b commit 121afc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/event_flatstore/event_flatstore.c
Expand Up @@ -78,7 +78,6 @@ static mode_t file_permissions_oct;

static mi_export_t mi_cmds[] = {
{ "evi_flat_rotate","rotates the files the module dumps events into",mi_rotate,0,0,0},
{ "evi_flat_rotate","rotates the files",mi_rotate,0,0,0},
{0,0,0,0,0,0}
};

Expand Down Expand Up @@ -452,6 +451,7 @@ static evi_reply_sock* flat_parse(str socket){

sock->flags |= EVI_PARAMS;
sock->flags |= EVI_ADDRESS;
sock->flags |= EVI_EXPIRE;

return sock;
}
Expand Down Expand Up @@ -613,7 +613,7 @@ static void flat_free(evi_reply_sock *sock) {
if(head != NULL)
new->next = head;

head = new;
*list_deleted_files = new;

lock_release(global_lock);

Expand Down

0 comments on commit 121afc8

Please sign in to comment.