X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Futil%2Flist_agents.c;fp=src%2Futil%2Flist_agents.c;h=5acb0f2787fafe18674e6d901ab8909b29a15176;hp=c363ab64cbe59c32e2a3cd68607e3fefb6cc548b;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hpb=ef70704f0b31b59bb719b884d6a99cb9e3e2044a diff --git a/src/util/list_agents.c b/src/util/list_agents.c index c363ab6..5acb0f2 100755 --- a/src/util/list_agents.c +++ b/src/util/list_agents.c @@ -41,7 +41,7 @@ int main(int argc, char **argv) char **agent_list; int gid; int uid; - int flag; + int flag = 0; /* Setting the name */ @@ -61,7 +61,7 @@ int main(int argc, char **argv) { ErrorExit(USER_ERROR, ARGV0, user, group); } - + /* Setting the group */ if(Privsep_SetGroup(gid) < 0)