From ca0a660c3b63717ffec0305bba95af6930e62c34 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 15 Mar 2011 09:07:02 +0100 Subject: apt-pkg/acquire-method.cc: fix copy/paste error --- apt-pkg/acquire-method.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-pkg') 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)) -- cgit v1.2.3