author | mjm <mjm> | 2002-11-13 21:57:18 (UTC) |
---|---|---|
committer | mjm <mjm> | 2002-11-13 21:57:18 (UTC) |
commit | 9c48a8f9d70af68b9e57a82cda637ad8c2abf5c9 (patch) (side-by-side diff) | |
tree | 427d7e9a07573d295eeabf926d1664ec955331fd /noncore/net/wellenreiter/daemon/source/daemon.cc | |
parent | d3301ad9a74fdf693551bd70bc3cf34b311eaa49 (diff) | |
download | opie-9c48a8f9d70af68b9e57a82cda637ad8c2abf5c9.zip opie-9c48a8f9d70af68b9e57a82cda637ad8c2abf5c9.tar.gz opie-9c48a8f9d70af68b9e57a82cda637ad8c2abf5c9.tar.bz2 |
sendgui.cc is now udp based
Diffstat (limited to 'noncore/net/wellenreiter/daemon/source/daemon.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/daemon/source/daemon.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/daemon.cc b/noncore/net/wellenreiter/daemon/source/daemon.cc index 7972c0f..8724efa 100644 --- a/noncore/net/wellenreiter/daemon/source/daemon.cc +++ b/noncore/net/wellenreiter/daemon/source/daemon.cc @@ -60,23 +60,24 @@ int main(int argc, char **argv) } /* Will be replaced with sniffer ... later */ if(FD_ISSET(fileno(fp), &rset)) { memset(buffer, 0, sizeof(buffer)); if(fgets(buffer, sizeof(buffer) - 1, fp) == NULL) { log_err("Cannot read from stdin: %s", strerror(errno)); break; } + log_info("Sending command to '%s': %s", GUIADDR, buffer); /* Send string to GUI */ sendgui("%d: %s", 1234, buffer); } } close(sock); return 0; } |