Commit 540dd861 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Fixed bug calling Windows function Sleep()


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@898 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent b917bcdf
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
nmxptool Release History nmxptool Release History
######################### #########################
* Release 1.2.1 (2008/03/09)
- Fixed bug: argument of Windows function Sleep() is in milliseconds.
* Release 1.2.0 (2008/03/07) * Release 1.2.0 (2008/03/07)
- Reorganized structure of directories. - Reorganized structure of directories.
Compilation in a single shot of configure and make. Compilation in a single shot of configure and make.
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy * Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it * quintiliani@ingv.it
* *
* $Id: nmxp_base.c,v 1.63 2008-03-05 11:10:51 mtheo Exp $ * $Id: nmxp_base.c,v 1.64 2008-03-09 20:23:54 mtheo Exp $
* *
*/ */
...@@ -708,7 +708,7 @@ NMXP_DATA_PROCESS *nmxp_processCompressedData(char* buffer_data, int length_data ...@@ -708,7 +708,7 @@ NMXP_DATA_PROCESS *nmxp_processCompressedData(char* buffer_data, int length_data
unsigned int nmxp_sleep(unsigned int sleep_time) { unsigned int nmxp_sleep(unsigned int sleep_time) {
#ifdef HAVE_WINDOWS_H #ifdef HAVE_WINDOWS_H
Sleep(sleep_time); Sleep(sleep_time * 1000);
return 0; return 0;
#else #else
return sleep(sleep_time); return sleep(sleep_time);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment