diff options
Diffstat (limited to 'kresources/lib/webdavhandler.cpp')
-rw-r--r-- | kresources/lib/webdavhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kresources/lib/webdavhandler.cpp b/kresources/lib/webdavhandler.cpp index 9ae500e52..180740662 100644 --- a/kresources/lib/webdavhandler.cpp +++ b/kresources/lib/webdavhandler.cpp @@ -154,10 +154,10 @@ bool WebdavHandler::extractStringList( const TQDomElement &node, const TQString const TQString WebdavHandler::getEtagFromHeaders( const TQString& headers ) { - int start = headers.tqfind( "etag:", 0, false ); + int start = headers.find( "etag:", 0, false ); if ( start < 0 ) return TQString(); start += 6; - return headers.mid( start, headers.tqfind( "\n", start ) - start ); + return headers.mid( start, headers.find( "\n", start ) - start ); } //TODO: should not call libical functions directly -- better to make |