+++ /dev/null
- http.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/http.c b/http.c
-index 5d64e9b..db91701 100644
---- a/http.c
-+++ b/http.c
-@@ -164,7 +164,7 @@ int http_exec( http_t *conn )
- {
- i ++;
- }
-- strncat( conn->headers, s, MAX_QUERY );
-+ strncat( conn->headers, s, MAX_QUERY - 1);
- }
-
- #ifdef DEBUG
+++ /dev/null
- Makefile | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 1c3863a..b43fcff 100644
---- a/Makefile
-+++ b/Makefile
-@@ -51,13 +51,13 @@ uninstall-etc:
- ### MAIN PROGRAM
-
- $(OUTFILE): axel.o conf.o conn.o ftp.o http.o search.o tcp.o text.o
-- $(CC) *.o -o $(OUTFILE) $(LFLAGS)
-+ $(CC) $(LDFLAGS) *.o -o $(OUTFILE) $(LFLAGS)
- ifndef DEBUG
- -$(STRIP) $(OUTFILE)
- endif
-
- .c.o:
-- $(CC) -c $*.c -o $*.o -Wall $(CFLAGS)
-+ $(CC) $(CPPFLAGS) -c $*.c -o $*.o -Wall $(CFLAGS)
-
- install-bin:
- mkdir -p $(DESTDIR)$(BINDIR)/
+++ /dev/null
- axel.h | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/axel.h b/axel.h
-index e90d30d..f6ebfe8 100644
---- a/axel.h
-+++ b/axel.h
-@@ -66,7 +66,7 @@
- /* Compiled-in settings */
- #define MAX_STRING 1024
- #define MAX_ADD_HEADERS 10
--#define MAX_REDIR 5
-+#define MAX_REDIR 25
- #define AXEL_VERSION_STRING "2.4"
- #define DEFAULT_USER_AGENT "Axel " AXEL_VERSION_STRING " (" ARCH ")"
-