Rainer Gerhards
3ac9051b12
cosmetic: build system still used JSON_C name
...
... but used it for libfastjson. This was a left-over when we
could use both json-c and libfastjson. As github user hdatma
pointed out, this was confusing to users. This has now been
changed to LIBFASTJSON. No functional changes.
2017-05-16 11:05:57 +02:00
Pascal Withopf
b63a6b9010
codestyle: line length adjusted
2017-01-17 08:54:37 +01:00
Rainer Gerhards
448f16495c
remove "inline" attribute from excessivly long functions
2016-10-26 11:50:15 +02:00
Rainer Gerhards
c4a8f2819c
omhttpfs: fix compiler warnings
2016-06-01 10:49:21 +02:00
Rainer Gerhards
837c9203d5
omhttpfs: solve clang static analyzer issue
...
fix a more or less cosmetic complaint
2016-05-20 10:46:22 +02:00
Rainer Gerhards
accfa81e5d
cleanup: remove compatibility checks for old json-c
...
as we now use libfastjson, we do no longer need to check for "new"
features, as these are always present in libfastjson (things
like json_object_object_get_ex()).
closes https://github.com/rsyslog/rsyslog/issues/935
2016-04-05 12:16:09 +02:00
Rainer Gerhards
703c946e09
omhttpfs: code cleanup
...
* fix C++ style comments
* remove commented-out code
closes https://github.com/rsyslog/rsyslog/issues/677
2016-03-30 17:02:17 +02:00
Rainer Gerhards
b8b796c965
fix comments
...
C++ comments do not work on all platforms
fixed most, but left some due to running out of time
2016-01-13 06:16:36 -05:30
Rainer Gerhards
e5f5383117
Merge branch 'master' of https://github.com/c6226/rsyslog into master-candidate
...
Conflicts:
contrib/omhttpfs/omhttpfs.c
2015-12-07 11:59:26 +01:00
Rainer Gerhards
b954652df5
omhttpfs: we cannot use printf in a module
...
stdout is closed, so the write goes to some random file
2015-12-07 09:56:44 +01:00
Rainer Gerhards
6af2fbf738
Merge branch 'master' of https://github.com/haixingood/rsyslog into travis-omhttpfs
2015-12-07 09:54:46 +01:00
Rainer Gerhards
087ecb691e
omhttpfs: make build with older json-c
...
this is not the most optimal way to achive the result; anybody
feel free to improve this code and send a PR
also fix some incorrect code
2015-12-07 09:45:16 +01:00
Rainer Gerhards
ae88eb8f0e
omhttpfs: fix build problems with older json-c
2015-12-06 17:42:22 +01:00
c6226
acdc0973c8
free the tokener and json before all return statements
2015-12-05 17:47:56 +08:00
haixingood
de8ce245c9
If realloc fails the original block is not free. So cause mem leak
2015-11-26 11:00:45 +08:00
haixingood
15991c8e62
If realloc fails the original block is not free. So cause mem leak
2015-11-26 10:57:55 +08:00
c6226
93fb37d2eb
fix memory leak
2015-11-26 10:14:16 +08:00
c6226
2a4988a4c7
fix memory leak
2015-11-26 10:08:07 +08:00
c6226
b639b8d5ea
fix for memory leak
2015-11-25 18:18:58 +08:00
Rainer Gerhards
23d04ecaa2
omhttpfs: some cleanup
...
removed duplicate json-c configure check
commented out unused code --> less compiler warnings
2015-05-19 09:56:45 +02:00
sskaje
9591820bda
add lines of errmsg.logerr, change some return value
2015-02-03 17:31:47 +08:00
sskaje
f9d8ea5ca3
turn off curl verbose mode; add debug output
2015-01-08 16:34:45 +08:00
sskaje
a64c05209f
remove useless entries
2015-01-05 18:41:01 +08:00
sskaje
ce94aab068
add testing envrionment
2014-12-12 18:07:57 +08:00
sskaje
a704b77943
move omhttpfs to contrib/
2014-12-12 18:01:35 +08:00