summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:50 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:50 +0000
commit542ec555f1d484a299b56e35655756d78716f102 (patch)
treeaac5b14d4831b01214c19660c4130f0363dc3030 /apt-pkg/contrib/strutl.cc
parentf46e768107c0250eb0609a89a74b66ab3c9d8cec (diff)
CDROM support
Author: jgg Date: 1998-12-04 21:16:46 GMT CDROM support
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-rw-r--r--apt-pkg/contrib/strutl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
index 273118e9d..499b72a5e 100644
--- a/apt-pkg/contrib/strutl.cc
+++ b/apt-pkg/contrib/strutl.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: strutl.cc,v 1.14 1998/12/03 07:29:18 jgg Exp $
+// $Id: strutl.cc,v 1.15 1998/12/04 21:16:50 jgg Exp $
/* ######################################################################
String Util - Some usefull string functions.
@@ -640,7 +640,7 @@ void URI::CopyFrom(string U)
Path = "/";
// Now we attempt to locate a user:pass@host fragment
- if (U[1] == '/' && U[2] == '/')
+ if (FirstColon[1] == '/' && FirstColon[2] == '/')
FirstColon += 3;
else
FirstColon += 1;