remove stray semicolons (by Cristian Ionescu-Idbohrn)
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 15 May 2008 19:44:46 +0000 (19:44 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 15 May 2008 19:44:46 +0000 (19:44 -0000)
networking/interface.c
networking/isrv_identd.c

index f5c94f1..ee8ab10 100644 (file)
@@ -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++) {
index d60c9fb..a96ac60 100644 (file)
@@ -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