fix some code with obvious wrong coding style
[openssl.git] / crypto / rand / randfile.c
index 82f41637387b21ef75fb373a66d4780f21890ce9..31edd4f5603f29203e5a235c6810b6eab56c1fe5 100644 (file)
@@ -144,14 +144,14 @@ int RAND_load_file(const char *file, long bytes)
 # pragma environment restore
 #endif
 
-    for ( ; ; ) {
+    for (;;) {
         if (bytes > 0)
             n = (bytes <= RAND_LOAD_BUF_SIZE) ? (int)bytes : RAND_BUF_SIZE;
         else
             n = RAND_LOAD_BUF_SIZE;
         i = fread(buf, 1, n, in);
 #ifdef EINTR
-        if (ferror(in) && errno == EINTR){
+        if (ferror(in) && errno == EINTR) {
             clearerr(in);
             if (i == 0)
                 continue;