7 Commits

Author SHA1 Message Date
Rainer Gerhards
e447300569 mmgrok: fix gcc-7 build problem 2017-11-29 12:39:07 +01:00
purnima
d45daa2af0 Rebase,redefine msgDestruct() as smsg_t is used 2016-11-22 14:24:25 +05:30
Rainer Gerhards
2e55c77d70 clean up doAction output module interface
We started with char * pointers, but used different types of pointers
over time. This lead to alignment warnings. In practice, I think this
should never cause any problems (at least there have been no reports
in the 7 or so years we do this), but it is not clean. The interface is
now cleaned up. We do this in a way that does not require modifications
to modules that just use string parameters. For those with message
parameters, have a look at e.g. mmutf8fix to see how easy the
required change is.
2016-01-13 04:04:26 -05:30
Peter Portante
2470f0f72b Remove use of sizeof(char) and sizeof(uchar)
Remove the use sizeof(char) or sizeof(uchar) in calculations for memory
allocation or string length.  There are no known platforms for which
sizeof(char) or sizeof(uchar) is not 1, and c99 has defined sizeof(char)
to be 1 (section 6.5.3.4 of c99).
2015-12-16 02:18:45 +00:00
Rainer Gerhards
9834fe5836 mmgrok: remove unused variable 2015-12-08 10:05:52 +01:00
Rainer Gerhards
601375fe65 mmgrok: fix too-large malloc 2015-12-08 10:05:27 +01:00
chenryn
7e90ac3757 new mmgrok plugin 2015-11-26 18:19:58 +08:00