summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-15 19:44:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-15 19:44:46 +0000
commit43d5d429fd7a80ca02eb8388f058fd9654cc118d (patch)
tree604752d2c623db3001e31638075e634ff940f44f
parentb81f97bbd2de1e21ba99314fa1a130609db5646f (diff)
remove stray semicolons (by Cristian Ionescu-Idbohrn)
-rw-r--r--networking/interface.c2
-rw-r--r--networking/isrv_identd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/interface.c b/networking/interface.c
index f5c94f1ac..ee8ab102e 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -223,7 +223,7 @@ static char *UNSPEC_print(unsigned char *ptr)
char *pos;
unsigned int i;
- if (!buff);
+ if (!buff)
buff = xmalloc(sizeof(struct sockaddr) * 3 + 1);
pos = buff;
for (i = 0; i < sizeof(struct sockaddr); i++) {
diff --git a/networking/isrv_identd.c b/networking/isrv_identd.c
index d60c9fbaf..a96ac6041 100644
--- a/networking/isrv_identd.c
+++ b/networking/isrv_identd.c
@@ -113,7 +113,7 @@ int fakeidentd_main(int argc ATTRIBUTE_UNUSED, char **argv)
strncpy(bogouser, argv[optind], sizeof(bogouser));
/* Daemonize if no -f and no -i and no -w */
- if (!(opt & OPT_fiw));
+ if (!(opt & OPT_fiw))
bb_daemonize_or_rexec(0, argv);
/* Where to log in inetd modes? "Classic" inetd