summaryrefslogtreecommitdiffstats
path: root/customdhcpcd/src/logwriter.c
diff options
context:
space:
mode:
authorNiklas2011-11-04 11:56:28 +0100
committerNiklas2011-11-04 11:56:28 +0100
commit5d215d54cbb33f3ef5fb4f5da9a860b0a105ae9b (patch)
tree8965df059ab3acff163d0b7c907f35754472ee23 /customdhcpcd/src/logwriter.c
parentchanged the tryout, also some big changes in program flow. there is now userc... (diff)
downloadfbgui-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.c3
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;
}