projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Mark a message from dselect backend as translatable
[apt.git]
/
apt-pkg
/
contrib
/
hashes.cc
diff --git
a/apt-pkg/contrib/hashes.cc
b/apt-pkg/contrib/hashes.cc
index da714f9970e22ebc45d171f0b3aa949158a84dd0..fcc2f887cb704b825f18ced40959f952e6e4e084 100644
(file)
--- a/
apt-pkg/contrib/hashes.cc
+++ b/
apt-pkg/contrib/hashes.cc
@@
-44,7
+44,7
@@
HashString::HashString(string StringedHash)
return;
}
string::size_type pos = StringedHash.find(":");
return;
}
string::size_type pos = StringedHash.find(":");
- Type = StringedHash.substr(0,pos
-1
);
+ Type = StringedHash.substr(0,pos);
Hash = StringedHash.substr(pos+1, StringedHash.size() - pos);
if(_config->FindB("Debug::Hashes",false) == true)
Hash = StringedHash.substr(pos+1, StringedHash.size() - pos);
if(_config->FindB("Debug::Hashes",false) == true)