summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-method.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-03-15 09:07:02 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-03-15 09:07:02 +0100
commitca0a660c3b63717ffec0305bba95af6930e62c34 (patch)
tree87613fd48f429323cfd318d85d18c8be88edab86 /apt-pkg/acquire-method.cc
parent78c8f3cd7e0d2a61ee564cb010277bccb232b523 (diff)
apt-pkg/acquire-method.cc: fix copy/paste error
Diffstat (limited to 'apt-pkg/acquire-method.cc')
-rw-r--r--apt-pkg/acquire-method.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-method.cc b/apt-pkg/acquire-method.cc
index 29d53f2ac..fb45d9ee7 100644
--- a/apt-pkg/acquire-method.cc
+++ b/apt-pkg/acquire-method.cc
@@ -150,7 +150,7 @@ void pkgAcqMethod::URIStart(FetchResult &Res)
End += snprintf(End,sizeof(S)-4 - (End - S),"Resume-Point: %lu\n",
Res.ResumePoint);
if (UsedMirror.empty() == false)
- End += snprintf(End,sizeof(S)-50 - (End - S),"UsedMirror: %s\n",UsedMirror.c_str());
+ End += snprintf(End,sizeof(S)-4 - (End - S),"UsedMirror: %s\n",UsedMirror.c_str());
strcat(End,"\n");
if (write(STDOUT_FILENO,S,strlen(S)) != (signed)strlen(S))