summaryrefslogtreecommitdiffstats
path: root/plugins/omrelp
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-14 17:06:55 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-14 17:06:55 +0000
commit29b95dc1c1cc8020e3fb7d00610fb226cae1bd98 (patch)
tree058b206f658b9205f397975f84aa5eddfc32c795 /plugins/omrelp
parentb0e8ce6c3d48e664135a0f74d5b4df2b3a42827f (diff)
downloadrsyslog-29b95dc1c1cc8020e3fb7d00610fb226cae1bd98.tar.gz
rsyslog-29b95dc1c1cc8020e3fb7d00610fb226cae1bd98.tar.xz
rsyslog-29b95dc1c1cc8020e3fb7d00610fb226cae1bd98.zip
bugfix: duplicate public symbol in omfwd and omgssapi could lead to
segfault. thanks to varmojfekoj for the patch.
Diffstat (limited to 'plugins/omrelp')
-rw-r--r--plugins/omrelp/omrelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omrelp/omrelp.c b/plugins/omrelp/omrelp.c
index 9dd75a84..5d99d36f 100644
--- a/plugins/omrelp/omrelp.c
+++ b/plugins/omrelp/omrelp.c
@@ -90,7 +90,7 @@ typedef struct _instanceData {
* We may change the implementation to try to lookup the port
* if it is unspecified. So far, we use the IANA default auf 514.
*/
-char *getFwdSyslogPt(instanceData *pData)
+static char *getFwdSyslogPt(instanceData *pData)
{
assert(pData != NULL);
if(pData->port == NULL)