Skip to content

Commit

Permalink
logpipe: move pipe_next member right after queue
Browse files Browse the repository at this point in the history
This is probably the next most accessed field in that struct.

Signed-off-by: Balazs Scheidler <[email protected]>
  • Loading branch information
bazsi committed Jan 17, 2025
1 parent 62bb2c7 commit 748cb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logpipe.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ struct _LogPipe
gint32 flags;

void (*queue)(LogPipe *self, LogMessage *msg, const LogPathOptions *path_options);
LogPipe *pipe_next;

GlobalConfig *cfg;
LogExprNode *expr_node;
LogPipe *pipe_next;
StatsCounterItem *discarded_messages;
const gchar *persist_name;
gchar *plugin_name;
Expand Down

0 comments on commit 748cb9b

Please sign in to comment.