rsyslog / liblognorm

a fast samples-based log normalization library
http://www.liblognorm.com
GNU Lesser General Public License v2.1
99 stars 64 forks source link

Fix for #229 (cisco-interface-spec at end of line) #298

Closed solhuebner closed 6 years ago

solhuebner commented 6 years ago

This is a fix for #229 as the parser was exiting too early if there is no space at the end and would not save the parsed data. Did some tests with samples I had and ran it with valgrind but maybe someone can test it too?

rgerhards commented 6 years ago

as I am already at the code, let me see if I can do the change and also add a test for this case.

solhuebner commented 6 years ago

Thanks for merging it :)