summaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-18 01:07:04 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-18 01:07:04 +0200
commit51b53a89896a63d49e7e622133faf58dc681ce13 (patch)
tree0af640d5818651d5bf474b1fbc976f821290694b /cli.c
parent71c759e3fa6fb725c51e3800947848cd549222bf (diff)
downloadipecamera-51b53a89896a63d49e7e622133faf58dc681ce13.tar.gz
ipecamera-51b53a89896a63d49e7e622133faf58dc681ce13.tar.bz2
ipecamera-51b53a89896a63d49e7e622133faf58dc681ce13.tar.xz
ipecamera-51b53a89896a63d49e7e622133faf58dc681ce13.zip
Change timeout definition in Events API from struct timespec to pcilib_timeout_t
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index d9b27be..3927fe3 100644
--- a/cli.c
+++ b/cli.c
@@ -884,7 +884,7 @@ int Grab(pcilib_t *handle, const char *event, const char *output) {
// ignoring event for now
- err = pcilib_grab(handle, PCILIB_EVENTS_ALL, &size, &data, NULL);
+ err = pcilib_grab(handle, PCILIB_EVENTS_ALL, &size, &data, PCILIB_TIMEOUT_TRIGGER);
if (err) {
Error("Grabbing event is failed");
}