aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-24 14:06:51 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-24 14:06:51 +0000
commit65dffc48de553ce08c0083482d3ec7e71b25c151 (patch)
treec6a7e85b1d6d1c8e18089c3f7d83e392cf04448f /networking
parent4ff05ea28bef62c4fafce789f07a02735af40f9e (diff)
downloadbusybox-w32-65dffc48de553ce08c0083482d3ec7e71b25c151.tar.gz
busybox-w32-65dffc48de553ce08c0083482d3ec7e71b25c151.tar.bz2
busybox-w32-65dffc48de553ce08c0083482d3ec7e71b25c151.zip
dc: use common_bufsiz1 for evaluation stack
msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged git-svn-id: svn://busybox.net/trunk/busybox@18225 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r--networking/dnsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c
index 2cecf6491..c9c7b3a7c 100644
--- a/networking/dnsd.c
+++ b/networking/dnsd.c
@@ -17,6 +17,7 @@
17 * the first porting of oao' scdns to busybox also. 17 * the first porting of oao' scdns to busybox also.
18 */ 18 */
19 19
20#include <syslog.h>
20#include "busybox.h" 21#include "busybox.h"
21 22
22//#define DEBUG 1 23//#define DEBUG 1
@@ -114,7 +115,6 @@ static void undot(uint8_t * rip)
114 * Presently the dot is copied into name without 115 * Presently the dot is copied into name without
115 * converting to a length/string substring for that label. 116 * converting to a length/string substring for that label.
116 */ 117 */
117
118static int getfileentry(FILE * fp, struct dns_entry *s) 118static int getfileentry(FILE * fp, struct dns_entry *s)
119{ 119{
120 unsigned int a,b,c,d; 120 unsigned int a,b,c,d;
@@ -359,6 +359,7 @@ int dnsd_main(int argc, char **argv)
359#else 359#else
360 xdaemon(1, 0); 360 xdaemon(1, 0);
361#endif 361#endif
362 openlog(applet_name, LOG_PID, LOG_DAEMON);
362 logmode = LOGMODE_SYSLOG; 363 logmode = LOGMODE_SYSLOG;
363 } 364 }
364 365