summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-02-11 21:25:57 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-02-11 21:25:57 +0100
commit379e22a4c0c00193b16fec3c46c4b68cdb63ee1a (patch)
treea7000e91d520d939e50c0e87243907f456643cb7 /methods/http.h
parentdd61e64da1fbae01dc82bab3635c946718cc0eb0 (diff)
remove the arbitrary MAXLEN limit for response lines (Closes: #658346)
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/methods/http.h b/methods/http.h
index c73d4df5c..c061ad680 100644
--- a/methods/http.h
+++ b/methods/http.h
@@ -11,8 +11,6 @@
#ifndef APT_HTTP_H
#define APT_HTTP_H
-#define MAXLEN 360
-
#include <apt-pkg/strutl.h>
#include <string>
@@ -92,7 +90,7 @@ struct ServerState
unsigned int Major;
unsigned int Minor;
unsigned int Result;
- char Code[MAXLEN];
+ char Code[360];
// These are some statistics from the last parsed header lines
unsigned long long Size;