]> git.mxchange.org Git - flightgear.git/blobdiff - scripts/example/fgfsclient.c
- don't use static buffer in class method
[flightgear.git] / scripts / example / fgfsclient.c
index b05c138fe3939a45cff5822d517b9d511960c245..430bb44894b0568b97cff49e481e198bd47b7209 100644 (file)
@@ -136,7 +136,7 @@ int main(int argc, char **argv)
 
        sock = fgfsconnect(hostname, port);
        if (sock < 0)
-               return (EXIT_FAILURE);
+               return EXIT_FAILURE;
 
        fgfswrite(sock, "data");
        fgfswrite(sock, "set /controls/engines/engine[%d]/throttle %d", 0, 1);