summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorroot <root@ipepdvpc4>2011-07-26 15:41:03 +0200
committerroot <root@ipepdvpc4>2011-07-26 15:41:03 +0200
commit4fb42b72682d05ae15dc19296715fe6fe467bc2e (patch)
treee46b7189c0ee3400d1023f3a75f23665c36a2ece /event.c
parent9756b55de5749b495481be4b30b87d6162b14f62 (diff)
downloadipecamera-4fb42b72682d05ae15dc19296715fe6fe467bc2e.tar.gz
ipecamera-4fb42b72682d05ae15dc19296715fe6fe467bc2e.tar.bz2
ipecamera-4fb42b72682d05ae15dc19296715fe6fe467bc2e.tar.xz
ipecamera-4fb42b72682d05ae15dc19296715fe6fe467bc2e.zip
Report errors during event grabbing
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index cc58c79..2f85b4f 100644
--- a/event.c
+++ b/event.c
@@ -245,5 +245,5 @@ int pcilib_grab(pcilib_t *ctx, pcilib_event_t event_mask, size_t *size, void **d
} else err = pcilib_trigger(ctx, event_mask, 0, NULL);
}
pcilib_stop(ctx);
- return 0;
+ return err;
}