projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cp: -r and -R imply -d (coreutils compat)
[oweals/busybox.git]
/
ipsvd
/
ipsvd_perhost.c
diff --git
a/ipsvd/ipsvd_perhost.c
b/ipsvd/ipsvd_perhost.c
index 281f708b06a8bf438e7ba95d573d15065693ed42..d4c0d795fca062b3f7eaad0564b6512dae08a069 100644
(file)
--- a/
ipsvd/ipsvd_perhost.c
+++ b/
ipsvd/ipsvd_perhost.c
@@
-7,7
+7,7
@@
* Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
* Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
-#include "
busybox
.h"
+#include "
libbb
.h"
#include "ipsvd_perhost.h"
static struct hcc *cc;
#include "ipsvd_perhost.h"
static struct hcc *cc;
@@
-31,7
+31,7
@@
unsigned ipsvd_perhost_add(char *ip, unsigned maxconn, struct hcc **hccpp)
for (i = 0; i < cclen; ++i) {
if (!cc[i].ip) {
freepos = i;
for (i = 0; i < cclen; ++i) {
if (!cc[i].ip) {
freepos = i;
- continue;
+ continue;
}
if (strcmp(cc[i].ip, ip) == 0) {
conn++;
}
if (strcmp(cc[i].ip, ip) == 0) {
conn++;