mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 22:13:01 +02:00
misc-progs: syslogdctrl: Fix data type of protocol variable
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -32,14 +32,14 @@
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char buffer[STRING_SIZE], command[STRING_SIZE], hostname[STRING_SIZE], protocol[STRING_SIZE];
|
||||
char buffer[STRING_SIZE], command[STRING_SIZE], hostname[STRING_SIZE];
|
||||
const char* protocol;
|
||||
char varmessages[STRING_SIZE], asynclog[STRING_SIZE];
|
||||
int config_fd,rc,fd,pid;
|
||||
struct stat st;
|
||||
struct keyvalue *kv = NULL;
|
||||
memset(buffer, 0, STRING_SIZE);
|
||||
memset(hostname, 0, STRING_SIZE);
|
||||
memset(protocol, 0, STRING_SIZE);
|
||||
memset(varmessages, 0, STRING_SIZE);
|
||||
memset(asynclog, 0, STRING_SIZE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user