diff options
author | Michael Landin <mich@FreeBSD.org> | 2006-11-08 14:04:29 +0000 |
---|---|---|
committer | Michael Landin <mich@FreeBSD.org> | 2006-11-08 14:04:29 +0000 |
commit | 83c3b662a56a8041bee15b69668eb4b1b2897747 (patch) | |
tree | 74ed0568e5ed3aa60e0978adce0a020f619c2b57 /net-mgmt/cdpr/files/patch-conffile.c | |
parent | Update to snapshot 20061108 (diff) |
- fix build failure on 4.x
Notified by: pointyhat
Notes
Notes:
svn path=/head/; revision=176813
Diffstat (limited to 'net-mgmt/cdpr/files/patch-conffile.c')
-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);
+ }
+ /*
|