From: David Schweikert Date: Thu, 27 Feb 2014 22:00:28 +0000 (+0100) Subject: silence clang warning X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0decb829d87178cbb6a0ebb27c894accc198e463;p=fping.git silence clang warning --- diff --git a/src/fping.c b/src/fping.c index ca65a4f..af7608f 100644 --- a/src/fping.c +++ b/src/fping.c @@ -368,7 +368,7 @@ int main( int argc, char **argv ) s = open_ping_socket(); - if(uid = getuid()) { + if((uid = getuid())) { seteuid( getuid() ); }