diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 09:12:33 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 09:12:33 +0000 |
commit | 5ebc7857fd496231f8d3cd893a18735c1e48e6a9 (patch) | |
tree | a627523ac6f3f76a45df8c3026f409478a54ae24 /ucb/source | |
parent | 9d31bcfd823ebaa799e03c12c6b9cf57c1021744 (diff) |
INTEGRATION: CWS abi30 (1.21.24); FILE MERGED
2006/10/17 15:08:15 abi 1.21.24.2: RESYNC: (1.21-1.22); FILE MERGED
2006/09/17 14:32:53 abi 1.21.24.1: #i67827# wrong condition
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/ftp/ftpurl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index 112e707fb3f7..2ca68afb86e9 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ftpurl.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: obo $ $Date: 2006-09-17 13:52:57 $ + * last change: $Author: vg $ $Date: 2006-11-01 10:12:33 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -174,7 +174,7 @@ void FTPURL::parse(const rtl::OUString& url) const char* p2 = aIdent.getStr(); rtl::OString lower = aIdent.toAsciiLowerCase(); - if(lower.getLength() >= 6 && + if(lower.getLength() < 6 || strncmp("ftp://",lower.getStr(),6)) throw malformed_exception(); |