summaryrefslogtreecommitdiff
path: root/net/sipsak/files/patch-sipsak.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-26 14:12:14 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-26 14:12:14 +0000
commite7835108d79501ff36e7f617dbabe856da0b7513 (patch)
tree19d470dce26994c6baf0861339e4d6b1dc292197 /net/sipsak/files/patch-sipsak.c
parentImprove compatibility with 4.x, particularly: (diff)
- Update to 0.8.11
PR: ports/73104 Submitted by: Hendrik Scholz <hendrik@scholz.net> Approved by: jesusr (maintainer)
Notes
Notes: svn path=/head/; revision=120226
Diffstat (limited to 'net/sipsak/files/patch-sipsak.c')
-rw-r--r--net/sipsak/files/patch-sipsak.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/sipsak/files/patch-sipsak.c b/net/sipsak/files/patch-sipsak.c
new file mode 100644
index 000000000000..9190b37e0731
--- /dev/null
+++ b/net/sipsak/files/patch-sipsak.c
@@ -0,0 +1,31 @@
+--- sipsak.c.orig Fri Oct 8 20:07:14 2004
++++ sipsak.c Tue Oct 26 15:55:19 2004
+@@ -207,6 +207,9 @@
+ char buff[BUFSIZE];
+ int length, c, i, j;
+ char *delim, *delim2;
++ pid_t pid;
++ struct timespec ts;
++ int upp;
+ #ifdef HAVE_GETOPT_LONG
+ int option_index = 0;
+ static struct option l_opts[] = {
+@@ -269,9 +272,6 @@
+ memset(ack, 0, BUFSIZE);
+ memset(fqdn, 0, FQDN_SIZE);
+ memset(messusern, 0, FQDN_SIZE);
+- pid_t pid;
+- struct timespec ts;
+- int upp;
+
+ if (argc==1) print_help();
+
+@@ -354,7 +354,7 @@
+ flood=1;
+ break;
+ case 'f':
+- if strncmp(optarg, "-", 1) {
++ if (strncmp(optarg, "-", 1)) {
+ /* file is opened in binary mode so that the cr-lf is
+ preserved */
+ pf = fopen(optarg, "rb");