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 ed802f027..d4c0d795f 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)
31 for (i = 0; i < cclen; ++i) { 31 for (i = 0; i < cclen; ++i) {
32 if (!cc[i].ip) { 32 if (!cc[i].ip) {
33 freepos = i; 33 freepos = i;
34 continue; 34 continue;
35 } 35 }
36 if (strcmp(cc[i].ip, ip) == 0) { 36 if (strcmp(cc[i].ip, ip) == 0) {
37 conn++; 37 conn++;
diff --git a/ipsvd/ipsvd_perhost.h b/ipsvd/ipsvd_perhost.h
index cf08000e0..afe2c296c 100644
--- a/ipsvd/ipsvd_perhost.h
+++ b/ipsvd/ipsvd_perhost.h
@@ -8,8 +8,8 @@
8 */ 8 */
9 9
10struct hcc { 10struct hcc {
11 char *ip; 11 char *ip;
12 int pid; 12 int pid;
13}; 13};
14 14
15void ipsvd_perhost_init(unsigned); 15void ipsvd_perhost_init(unsigned);