blob: ef5a7d1191a4871989e8f93247732e821d4f3107 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- conffile.c.orig 2016-06-20 14:44:21 UTC
+++ conffile.c
@@ -57,6 +57,7 @@ do_something_with (char *ip, char *url)
struct hostent *h;
char *addy;
int port;
+ char *tport;
if (ip && url)
{
@@ -70,7 +71,7 @@ do_something_with (char *ip, char *url)
else
{
strtok(ip,":");
- char *tport = strtok(NULL,":");
+ tport = strtok(NULL,":");
port = atoi(tport);
}
/*
|