summaryrefslogtreecommitdiff
path: root/netwerk/base
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2016-06-13 18:15:52 +0200
committerPale Moon <git-repo@palemoon.org>2016-06-13 18:15:52 +0200
commit8f60bf435553727154e8fca0e88c3b63124fe9fc (patch)
tree05d4c5f8f9b359fd5b1d5dd1f8fb1dd9cb2f69dd /netwerk/base
parent3fd4d23af4e56b543b6e813fa78a74a65e1ab3c6 (diff)
downloadpalemoon-gre-8f60bf435553727154e8fca0e88c3b63124fe9fc.tar.gz
Fix path typo.
This resolves issue #443
Diffstat (limited to 'netwerk/base')
-rw-r--r--netwerk/base/src/nsStandardURL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/base/src/nsStandardURL.cpp b/netwerk/base/src/nsStandardURL.cpp
index 27e9253b3..7e9f6a724 100644
--- a/netwerk/base/src/nsStandardURL.cpp
+++ b/netwerk/base/src/nsStandardURL.cpp
@@ -677,7 +677,7 @@ nsStandardURL::BuildNormalizedSpec(const char *spec)
}
else {
uint32_t leadingSlash = 0;
- if (spec[mPath.mPos] != '/') {
+ if (spec[path.mPos] != '/') {
LOG(("adding leading slash to path\n"));
leadingSlash = 1;
buf[i++] = '/';