diff options
author | root <root@ipepdvpc4> | 2011-07-26 15:41:03 +0200 |
---|---|---|
committer | root <root@ipepdvpc4> | 2011-07-26 15:41:03 +0200 |
commit | 4fb42b72682d05ae15dc19296715fe6fe467bc2e (patch) | |
tree | e46b7189c0ee3400d1023f3a75f23665c36a2ece /event.c | |
parent | 9756b55de5749b495481be4b30b87d6162b14f62 (diff) | |
download | ipecamera-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |