diff options
author | Steven King <kingrst@gmail.com> | 2010-07-08 04:07:07 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-08 04:07:07 -0500 |
commit | 57f728e24f153365d3a42a95f5e771fb70d8bf88 (patch) | |
tree | 63860b76e5f32bc649210581718d557df6c93b2d /network/httping/patches | |
parent | 16fb03863432da273b553a9cdcf5cfeac37180fe (diff) |
network/httping: Added (HTTP Request ping)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/httping/patches')
-rw-r--r-- | network/httping/patches/str.c.patch | 23 | ||||
-rw-r--r-- | network/httping/patches/str.h.patch | 9 |
2 files changed, 32 insertions, 0 deletions
diff --git a/network/httping/patches/str.c.patch b/network/httping/patches/str.c.patch new file mode 100644 index 0000000000000..ae476307546a7 --- /dev/null +++ b/network/httping/patches/str.c.patch @@ -0,0 +1,23 @@ +--- httping-1.4.1/str.c 2010-01-10 15:35:22.000000000 -0500 ++++ str.c 2010-07-08 00:20:04.633607710 -0400 +@@ -19,13 +19,13 @@ + #include "utils.h" + + #ifndef _GNU_SOURCE +-char *strndup(char *in, int size) +-{ +- char *out = mymalloc(size + 1, "strndup"); ++//char *strndup(char *in, int size) ++//{ ++// char *out = mymalloc(size + 1, "strndup"); + +- memcpy(out, in, size); +- out[size] = 0x00; ++// memcpy(out, in, size); ++// out[size] = 0x00; + +- return out; +-} ++// return out; ++//} + #endif diff --git a/network/httping/patches/str.h.patch b/network/httping/patches/str.h.patch new file mode 100644 index 0000000000000..e7339959c9eb8 --- /dev/null +++ b/network/httping/patches/str.h.patch @@ -0,0 +1,9 @@ +--- httping-1.4.1/str.h 2010-01-10 15:35:22.000000000 -0500 ++++ str.h 2010-07-08 00:20:04.633607710 -0400 +@@ -16,5 +16,5 @@ + #include <string.h> + + #ifndef _GNU_SOURCE +-char *strndup(char *in, int size); ++//char *strndup(char *in, int size); + #endif |