fix tab-space mixed indentation
[openssl.git] / crypto / threads_win.c
index 741e8f827e97b946b8c1d87502927083c5895a20..63647a39a673dc37e3ab0bd513b82d4cb6331934 100644 (file)
@@ -133,12 +133,12 @@ BOOL CALLBACK once_cb(PINIT_ONCE once, PVOID p, PVOID *pp)
     return TRUE;
 }
 
-void CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void))
+int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void))
 {
     if (InitOnceExecuteOnce(once, once_cb, init, NULL))
-        return 0;
+        return 1;
 
-    return 1;
+    return 0;
 }
 
 # endif