Mercurial > wflogs-daemon
changeset 8:306059d0f677
fix missing return statement
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 17 May 2013 12:37:04 -0700 |
parents | d5bb92a8ea25 |
children | 13204eef1a0a |
files | src/wflogs-config.cpp src/wflogs-config.h |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/wflogs-config.cpp Fri May 17 12:25:14 2013 -0700 +++ b/src/wflogs-config.cpp Fri May 17 12:37:04 2013 -0700 @@ -124,7 +124,7 @@ } -bool CONTEXT::write(char *p) { +void CONTEXT::write(char *p) { // p points to \0 at end of buf, may be destroyed if (failedo()) { openo(false); @@ -275,6 +275,7 @@ CONTEXT *c = *i; rc |= c->read(); } + return rc; } void CONFIG::sleep(int duration, time_t &previous) {