diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-05-14 04:40:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-05-14 04:40:23 +0000 |
commit | fabf5ea72dbd46c4050faaaf345ee99a98cc374e (patch) | |
tree | d4199d93430897c73e66b57f92e7cf0c63181052 /loadparm.c | |
parent | 09e13ae2dc74f82c46129d943e20c5a591449285 (diff) | |
download | rsync-fabf5ea72dbd46c4050faaaf345ee99a98cc374e.tar.gz |
now support integers or strings for syslog facility
Diffstat (limited to 'loadparm.c')
-rw-r--r-- | loadparm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -584,6 +584,9 @@ static BOOL lp_do_parameter(int snum, char *parmname, char *parmvalue) break; } } + if (!parm_table[parmnum].enum_list[i].name) { + *(int *)parm_ptr = atoi(parmvalue); + } break; case P_SEP: break; |