projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mysql Support & send pic with msg
[svn42.git]
/
powersensordaemon
/
powersensordaemon.c
diff --git
a/powersensordaemon/powersensordaemon.c
b/powersensordaemon/powersensordaemon.c
index
bf03330
..
6b1a371
100644
(file)
--- a/
powersensordaemon/powersensordaemon.c
+++ b/
powersensordaemon/powersensordaemon.c
@@
-440,7
+440,7
@@
int main_loop(int tty_fd, int cmd_listen_fd, autosample_process_t* autosample, o
FD_SET(cmd_listen_fd, &readfds);
int max_fd = tty_fd > cmd_listen_fd ? tty_fd : cmd_listen_fd;
FD_SET(cmd_listen_fd, &readfds);
int max_fd = tty_fd > cmd_listen_fd ? tty_fd : cmd_listen_fd;
- int autosample_enabled = 0;
+ u_int8_t autosample_enabled = 0;
if(autosample->pid_ > 0) {
clear_fd(autosample->write_fd_);
FD_SET(autosample->write_fd_, &readfds);
if(autosample->pid_ > 0) {
clear_fd(autosample->write_fd_);
FD_SET(autosample->write_fd_, &readfds);