diff options
-rw-r--r-- | net-mgmt/cdpr/files/patch-conffile.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-mgmt/cdpr/files/patch-conffile.c b/net-mgmt/cdpr/files/patch-conffile.c new file mode 100644 index 000000000000..0820d6ff7dad --- /dev/null +++ b/net-mgmt/cdpr/files/patch-conffile.c @@ -0,0 +1,22 @@ + +$FreeBSD$ + +--- conffile.c.orig ++++ conffile.c +@@ -57,6 +57,7 @@ + struct hostent *h;
+ char *addy;
+ int port;
++ char *tport;
+
+ if (ip && url)
+ {
+@@ -70,7 +71,7 @@ + else
+ {
+ strtok(ip,":");
+- char *tport = strtok(NULL,":");
++ tport = strtok(NULL,":");
+ port = atoi(tport);
+ }
+ /*
|