Skip to content

Commit

Permalink
misc: fix typos, doc, update copyright years
Browse files Browse the repository at this point in the history
Updated FlowGetNew documentation, where it said NULL was only returned
in case of error.
  • Loading branch information
jufajardini authored and victorjulien committed Jun 13, 2023
1 parent a37a88d commit f511a4a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/app-layer.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2007-2021 Open Information Security Foundation
/* Copyright (C) 2007-2023 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
Expand Down
2 changes: 1 addition & 1 deletion src/decode.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2007-2022 Open Information Security Foundation
/* Copyright (C) 2007-2023 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
Expand Down
2 changes: 1 addition & 1 deletion src/defrag-hash.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2007-2012 Open Information Security Foundation
/* Copyright (C) 2007-2023 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
Expand Down
5 changes: 3 additions & 2 deletions src/flow-hash.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2007-2022 Open Information Security Foundation
/* Copyright (C) 2007-2023 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
Expand Down Expand Up @@ -655,7 +655,8 @@ static inline void NoFlowHandleIPS(Packet *p)
* \param tv thread vars
* \param fls lookup support vars
*
* \retval f *LOCKED* flow on success, NULL on error.
* \retval f *LOCKED* flow on success, NULL on error or if we should not create
* a new flow.
*/
static Flow *FlowGetNew(ThreadVars *tv, FlowLookupStruct *fls, Packet *p)
{
Expand Down
2 changes: 1 addition & 1 deletion src/stream-tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ typedef struct StreamTcpThread_ {
uint16_t counter_tcp_midstream_pickups;
/** wrong thread */
uint16_t counter_tcp_wrong_thread;
/** ack for unseed data */
/** ack for unseen data */
uint16_t counter_tcp_ack_unseen_data;

/** tcp reassembly thread data */
Expand Down
2 changes: 1 addition & 1 deletion src/util-exception-policy.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2022 Open Information Security Foundation
/* Copyright (C) 2022-2023 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
Expand Down
2 changes: 1 addition & 1 deletion src/util-exception-policy.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2022 Open Information Security Foundation
/* Copyright (C) 2022-2023 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
Expand Down

0 comments on commit f511a4a

Please sign in to comment.