Skip to content

Commit

Permalink
Fix python-fd to process savepkt flags.
Browse files Browse the repository at this point in the history
For a non-option plugin which is saving a non restore first object we
should copy the value of no_read and delta_seq from the python savepkt
to the native one.
  • Loading branch information
Marco van Wieringen committed May 7, 2015
1 parent f10d372 commit 91b7e92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/filed/python-fd.c
Expand Up @@ -1570,6 +1570,9 @@ static inline bool PySavePacketToNative(PySavePacket *pSavePkt, struct save_pkt
} else {
goto bail_out;
}
} else {
sp->no_read = pSavePkt->no_read;
sp->delta_seq = pSavePkt->delta_seq;
}
} else {
sp->no_read = pSavePkt->no_read;
Expand Down

0 comments on commit 91b7e92

Please sign in to comment.