Skip to content

Commit

Permalink
chore(userspace/libsinsp): updated a wrong comment.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed Apr 26, 2022
1 parent 7ebaf0b commit b9de139
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion userspace/libscap/plugin_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ typedef struct ss_plugin_event
// If the field is a list type, then res_len can must be any value from 0 to N, depending
// on how many values can be extracted from a given event.
// Setting res_len to 0 means that no value of this field can be extracted from a given event.
//
typedef struct ss_plugin_extract_field
{
// NOTE: For a given architecture, this has always the same size which
Expand Down
2 changes: 1 addition & 1 deletion userspace/libsinsp/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ limitations under the License.

using namespace std;

// Used below--set a std::string from the provided allocated charbuf and free() the charbuf.
// Used below--set a std::string from the provided allocated charbuf
static std::string str_from_alloc_charbuf(const char* charbuf)
{
std::string str;
Expand Down

0 comments on commit b9de139

Please sign in to comment.