# HG changeset patch # User jwe # Date 1108060675 0 # Node ID f51d2e9681f4a89f169a12946876c3adde8246af # Parent 550b12564a741e72c102daeb8fd69191e41576f5 [project @ 2005-02-10 18:37:55 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-02-10 Driss Ghaddab + + * cutils.c (octave_usleep) [HAVE_POLL]: Fix typo. + 2005-02-10 John W. Eaton * variables.cc (symbol_exist): Don't search path if explicitly diff --git a/src/cutils.c b/src/cutils.c --- 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