Skip to content

Commit 06c1cdc

Browse files
authored
Merge pull request #463 from cgzones/mcs_comma
interpret: correctly identify embedded fields
2 parents 3424f32 + 7d10475 commit 06c1cdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ausearch-report.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static void output_interpreted_record(const lnode *n, const event *e)
261261

262262
// look back to last space - this is name
263263
name = ptr;
264-
while (*name != ' ' && name > str)
264+
while (name > str && name[-1] != ' ')
265265
--name;
266266
*ptr++ = 0;
267267

0 commit comments

Comments
 (0)