projects
/
barrelfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
55ec030
)
octopus client: return trigger id to caller in oct_trigger_existing_and_watch()
author
Simon Gerber
<simon.gerber@inf.ethz.ch>
Wed, 21 Sep 2016 16:42:25 +0000 (18:42 +0200)
committer
Simon Gerber
<simon.gerber@inf.ethz.ch>
Wed, 21 Sep 2016 16:42:25 +0000 (18:42 +0200)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
lib/octopus/client/trigger.c
patch
|
blob
|
history
diff --git
a/lib/octopus/client/trigger.c
b/lib/octopus/client/trigger.c
index
695837b
..
ee9ba42
100644
(file)
--- a/
lib/octopus/client/trigger.c
+++ b/
lib/octopus/client/trigger.c
@@
-150,6
+150,11
@@
errval_t oct_trigger_existing_and_watch(const char* query,
break;
}
+ // Return trigger id to caller, if requested
+ if (tid) {
+ *tid = reply.tid;
+ }
+
out:
oct_free_names(names, len);