[Commits] [SCM] claws branch, master, updated. 3.17.3-45-g9f87a4b

ticho at claws-mail.org ticho at claws-mail.org
Sun Jan 20 19:15:23 CET 2019


The branch, master has been updated
       via  9f87a4ba41137a5793c870bd1b9bf5181ca2ed27 (commit)
      from  d0cf0af3e133ec33cdd6696676b0d3b1f44bc756 (commit)

Summary of changes:
 src/common/w32_unistd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 9f87a4ba41137a5793c870bd1b9bf5181ca2ed27
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Jan 20 19:15:04 2019 +0100

    Replace deprecated _sleep() with Sleep() in w32_unistd.c

diff --git a/src/common/w32_unistd.c b/src/common/w32_unistd.c
index d263581..11a2dda 100644
--- a/src/common/w32_unistd.c
+++ b/src/common/w32_unistd.c
@@ -36,7 +36,7 @@ pid_t fork( void ){
 }
 
 unsigned int sleep( unsigned int seconds ){
-  _sleep(seconds * 1000);
+  Sleep(seconds * 1000);
   return 0;
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list