mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 09:20:41 +01:00
bugfix omhttp: does not compile on all platforms
at least on CentOS 6 package build we see errors: https://build.opensuse.org/package/live_build_log/home:jgerhards:branches:home:rgerhards/rsyslog/CentOS_6/i586 see also https://github.com/rsyslog/rsyslog/issues/3302
This commit is contained in:
parent
06a295b4a3
commit
8ac802ec65
@ -113,7 +113,6 @@ typedef struct instanceConf_s {
|
||||
struct instanceConf_s *next;
|
||||
} instanceData;
|
||||
|
||||
typedef instanceConf_t instanceData;
|
||||
|
||||
struct modConfData_s {
|
||||
rsconf_t *pConf; /* our overall config object */
|
||||
@ -590,10 +589,10 @@ static rsRetVal
|
||||
getSection(const char* bulkRequest, const char **bulkRequestNextSectionStart )
|
||||
{
|
||||
DEFiRet;
|
||||
char* index =0;
|
||||
if( (index = strchr(bulkRequest,'\n')) != 0)/*intermediate section*/
|
||||
char* idx =0;
|
||||
if( (idx = strchr(bulkRequest,'\n')) != 0)/*intermediate section*/
|
||||
{
|
||||
*bulkRequestNextSectionStart = ++index;
|
||||
*bulkRequestNextSectionStart = ++idx;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user