diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 11:35:04 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 11:35:04 +0000 |
commit | cba4c88776a4d98d197c14ec9014f7abc973255e (patch) | |
tree | 849bae468706c39be467cf20fd7ef7542f47465e /syslogd.c | |
parent | eaa2ca5ea5f0cb4289baa63eb42c4b0e7bb6bf4a (diff) | |
download | rsyslog-cba4c88776a4d98d197c14ec9014f7abc973255e.tar.gz rsyslog-cba4c88776a4d98d197c14ec9014f7abc973255e.tar.bz2 rsyslog-cba4c88776a4d98d197c14ec9014f7abc973255e.zip |
moved code to output module
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -1081,20 +1081,6 @@ void freeAllSockets(int **socks) } -/* get the syslog forward port from selector_t. The passed in - * struct must be one that is setup for forwarding. - * rgerhards, 2007-06-28 - * 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(selector_t *f) -{ - assert(f != NULL); - if(f->f_un.f_forw.port == NULL) - return("514"); - else - return(f->f_un.f_forw.port); -} /******************************************************************* |