projects
/
browser-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clarify control flow in inotify read loop
[browser-switch]
/
launcher.c
diff --git
a/launcher.c
b/launcher.c
index
45ce750
..
9d2953b
100644
(file)
--- a/
launcher.c
+++ b/
launcher.c
@@
-381,7
+381,7
@@
void launch_microb(struct swb_context *ctx, char *uri) {
pos += len;
else
/* All events processed */
- pos = buf + bytes_read;
+ break;
}
if (!pos)
/* Event found, stop looking */