diff options
| author | Niklas | 2011-11-04 11:56:28 +0100 |
|---|---|---|
| committer | Niklas | 2011-11-04 11:56:28 +0100 |
| commit | 5d215d54cbb33f3ef5fb4f5da9a860b0a105ae9b (patch) | |
| tree | 8965df059ab3acff163d0b7c907f35754472ee23 /customdhcpcd/src/logwriter.c | |
| parent | changed the tryout, also some big changes in program flow. there is now userc... (diff) | |
| download | fbgui-5d215d54cbb33f3ef5fb4f5da9a860b0a105ae9b.tar.gz fbgui-5d215d54cbb33f3ef5fb4f5da9a860b0a105ae9b.tar.xz fbgui-5d215d54cbb33f3ef5fb4f5da9a860b0a105ae9b.zip | |
last changes
Diffstat (limited to 'customdhcpcd/src/logwriter.c')
| -rw-r--r-- | customdhcpcd/src/logwriter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/customdhcpcd/src/logwriter.c b/customdhcpcd/src/logwriter.c index 67cf839..6230d4c 100644 --- a/customdhcpcd/src/logwriter.c +++ b/customdhcpcd/src/logwriter.c @@ -24,7 +24,6 @@ int sockfd, ns; int retval = -1; char socketName[QTSOCKETADDRESSLENGTH]; char interfaceName[IF_NAMESIZE]; -char mesg[1024]; void setSocketName(const char * sn) { snprintf(socketName, sizeof(socketName), "%s", sn); @@ -83,7 +82,7 @@ void sendToQt(log_msg * msg) { ret = snprintf(outbuf, DHCP_MESSAGE_SIZE, tpl, msg->device, msg->status, msg->substatus, msg->msg); if (ret < 1) { - logger(LOG_INFO, "[fbgui] ERROR filling message buffer"); + log ger(LOG_INFO, "[fbgui] ERROR filling message buffer"); //syslog(LOG_INFO, "[fbgui] ERROR filling message buffer"); return; } |
