From 0eb8bc04db3f6ed6d2df52d9d8b41a91ec9556a3 Mon Sep 17 00:00:00 2001 From: xchaos Date: Mon, 21 Nov 2011 15:19:23 +0000 Subject: [PATCH] ahem git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@149 251d49ef-1d17-4917-a970-b30cf55b089b --- prometheus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prometheus.c b/prometheus.c index 5a0939f..4c63dfe 100644 --- a/prometheus.c +++ b/prometheus.c @@ -646,7 +646,7 @@ void run_restore(void) /* == This function strips extra characters after IP address and stores it = */ -void parse_ip(struct IP *ip, char *str) +void parse_ip(char *str) { char *ptr,*ipaddr=NULL,*ipname=NULL,*lmsid=NULL; @@ -1033,7 +1033,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); if(substring) { substring+=8; //"sharing-" - parse_ip(ip, str); + parse_ip(str); ip_count++; ip->sharing=substring; ip->keyword=defaultkeyword; /* settings for default keyword */ @@ -1049,7 +1049,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); if_exists(keyword,keywords,(substring=strstr(str,keyword->key))) { - parse_ip(ip, str); + parse_ip(str); ip_count++; ip->keyword=keyword; keyword->ip_count++; -- 2.30.2