summaryrefslogtreecommitdiff
path: root/net-mgmt/cdpr/files/patch-conffile.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commit7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch)
treee83ee6693050a76e305a95a376451aa583df151e /net-mgmt/cdpr/files/patch-conffile.c
parenttextproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff)
With the power of USES=dos2unix, get rid of most patches and files
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=417166
Diffstat (limited to 'net-mgmt/cdpr/files/patch-conffile.c')
-rw-r--r--net-mgmt/cdpr/files/patch-conffile.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/net-mgmt/cdpr/files/patch-conffile.c b/net-mgmt/cdpr/files/patch-conffile.c
index 0ca7c053adc7..ef5a7d1191a4 100644
--- a/net-mgmt/cdpr/files/patch-conffile.c
+++ b/net-mgmt/cdpr/files/patch-conffile.c
@@ -1,19 +1,19 @@
---- conffile.c.orig
+--- conffile.c.orig 2016-06-20 14:44:21 UTC
+++ 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);
- }
- /*
+@@ -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);
+ }
+ /*