[project @ 2005-02-10 18:37:55 by jwe]
author |
jwe |
date |
Thu, 10 Feb 2005 18:37:55 +0000 |
parents |
550b12564a74 |
children |
0f9108f298ab |
files |
src/ChangeLog src/cutils.c |
diffstat |
2 files changed, 6 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-10 Driss Ghaddab <driss.ghaddab@free.fr>
+
+ * cutils.c (octave_usleep) [HAVE_POLL]: Fix typo.
+
2005-02-10 John W. Eaton <jwe@octave.org>
* variables.cc (symbol_exist): Don't search path if explicitly
--- a/src/cutils.c
+++ b/src/cutils.c
@@ -102,10 +102,11 @@
{
struct pollfd pfd;
+
int delay = usec / 1000;
if (delay > 0)
- poll (&fd, 0, delay);
+ poll (&pfd, 0, delay);
}
#endif