summaryrefslogtreecommitdiff
path: root/ipsvd
diff options
context:
space:
mode:
Diffstat (limited to 'ipsvd')
-rw-r--r--ipsvd/ipsvd_perhost.c2
-rw-r--r--ipsvd/ipsvd_perhost.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ipsvd/ipsvd_perhost.c b/ipsvd/ipsvd_perhost.c
index ed802f0..d4c0d79 100644
--- a/ipsvd/ipsvd_perhost.c
+++ b/ipsvd/ipsvd_perhost.c
@@ -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;
- continue;
+ continue;
}
if (strcmp(cc[i].ip, ip) == 0) {
conn++;
diff --git a/ipsvd/ipsvd_perhost.h b/ipsvd/ipsvd_perhost.h
index cf08000..afe2c29 100644
--- a/ipsvd/ipsvd_perhost.h
+++ b/ipsvd/ipsvd_perhost.h
@@ -8,8 +8,8 @@
*/
struct hcc {
- char *ip;
- int pid;
+ char *ip;
+ int pid;
};
void ipsvd_perhost_init(unsigned);