summaryrefslogtreecommitdiff
path: root/net/qadsl/files/patch-src__http.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
commit08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch)
tree0cfc4f0736babb895eb97a65c6defe632a0249c7 /net/qadsl/files/patch-src__http.c
parenteditors/fte: update to 20110708 (diff)
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'net/qadsl/files/patch-src__http.c')
-rw-r--r--net/qadsl/files/patch-src__http.c53
1 files changed, 53 insertions, 0 deletions
diff --git a/net/qadsl/files/patch-src__http.c b/net/qadsl/files/patch-src__http.c
new file mode 100644
index 000000000000..bd995479330a
--- /dev/null
+++ b/net/qadsl/files/patch-src__http.c
@@ -0,0 +1,53 @@
+*** src/http.c.orig Tue Jun 29 23:59:57 2004
+--- src/http.c Sat Sep 11 22:19:22 2004
+***************
+*** 27,33 ****
+ #include "config.h"
+ #endif
+
+! #include <alloca.h>
+ #include <netdb.h>
+ #include <netinet/in.h>
+ #include <stdio.h>
+--- 27,33 ----
+ #include "config.h"
+ #endif
+
+! #include <sys/types.h>
+ #include <netdb.h>
+ #include <netinet/in.h>
+ #include <stdio.h>
+***************
+*** 278,284 ****
+ + strlen (config->password_key) + strlen (config->password)
+ + strlen (config->login_string_footer) + strlen ("Plus approximately 10%");
+
+! temp = (char *) alloca (length);
+ if (!temp)
+ {
+ close (config->sockfd);
+--- 278,284 ----
+ + strlen (config->password_key) + strlen (config->password)
+ + strlen (config->login_string_footer) + strlen ("Plus approximately 10%");
+
+! temp = (char *) malloc(length);
+ if (!temp)
+ {
+ close (config->sockfd);
+***************
+*** 299,305 ****
+
+ DEBUG ("Login string: %s", temp);
+
+! login_string = (char *) alloca (length);
+ if (!login_string)
+ {
+ close (config->sockfd);
+--- 299,305 ----
+
+ DEBUG ("Login string: %s", temp);
+
+! login_string = (char *) malloc(length);
+ if (!login_string)
+ {
+ close (config->sockfd);