]> git.gsnw.org Git - fping.git/commitdiff
silence clang warning
authorDavid Schweikert <dws@open.ch>
Thu, 27 Feb 2014 22:00:28 +0000 (23:00 +0100)
committerDavid Schweikert <dws@open.ch>
Thu, 27 Feb 2014 22:00:28 +0000 (23:00 +0100)
src/fping.c

index ca65a4f5153c10257a83a2697caf0b38e6f003c9..af7608fa68a6265db11f7473d267aeec375b2f42 100644 (file)
@@ -368,7 +368,7 @@ int main( int argc, char **argv )
 
     s = open_ping_socket();
 
-    if(uid = getuid()) {
+    if((uid = getuid())) {
         seteuid( getuid() );
     }