X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Futil%2Flist_agents.c;h=5acb0f2787fafe18674e6d901ab8909b29a15176;hb=927951d1c1ad45ba9e7325f07d996154a91c911b;hp=c363ab64cbe59c32e2a3cd68607e3fefb6cc548b;hpb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;p=ossec-hids.git 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)