Commit af3a7914 authored by Dirk Mueller's avatar Dirk Mueller

spelling fixes

svn path=/trunk/kdebase/kioslave/; revision=234293
parent 6935476c
......@@ -48,7 +48,7 @@ time.
How to get debug output
=======================
It is usefull to redirect the debug output of your particular slave to a file
It is useful to redirect the debug output of your particular slave to a file
instead of stderr. E.g. I myself use the following lines in
$KDEDIR/share/config/kdebugrc.
......
......@@ -246,7 +246,7 @@ void FingerProtocol::parseCommandLine(const KURL& url)
}
/*
* If no specifc port is specified, set it to 79.
* If no specific port is specified, set it to 79.
*/
if(myURL->port() == 0) {
......
......@@ -546,7 +546,7 @@ int fishProtocol::establishConnection(char *buffer, int len) {
myDebug( << "sending cpass" << endl);
connectionAuth.password = connectionPassword+"\n";
connectionPassword = QString::null;
// su does not like receving a password directly after sending
// su does not like receiving a password directly after sending
// the password prompt so we wait a while.
if (local)
sleep(1);
......
......@@ -37,7 +37,7 @@ public:
/**
Connects to a server and logs us in via SSH. Then starts FISH protocol.
@ref isConnected is set to true if logging on was successfull.
@ref isConnected is set to true if logging on was successful.
It is set to false if the connection becomes closed.
*/
......
......@@ -117,7 +117,7 @@ sigchld_handler (int signo)
if (pid <= 0)
{
// Reinstall signal handler, since Linux resets to default after
// the signal occured ( BSD handles it different, but it should do
// the signal occurred ( BSD handles it different, but it should do
// no harm ).
signal (SIGCHLD, sigchld_handler);
return;
......
......@@ -181,7 +181,7 @@ namespace KLDAP
* @param dn Distinguished name of the entity to authorize as.
* @param cred The credentials (e.g. the password)
* @param method The authentication method.
* @return TRUE, if authentication was successfull, else FALSE.
* @return TRUE, if authentication was successful, else FALSE.
*
*/
bool authenticate(const QString &dn="", const QString &cred="", int method=LDAP_AUTH_SIMPLE);
......
......@@ -1142,7 +1142,7 @@ void MANProtocol::showIndex(const QString& section)
assert(manindex->manpage_begin >= manindex->manpath);
}
// Skip extention ".section[.gz]"
// Skip extension ".section[.gz]"
char *begin = (char*)(manindex->manpage_begin);
int len = strlen( begin );
......
......@@ -198,7 +198,7 @@ bool NNTPProtocol::post_article() {
}
} while (result>0);
// error occured?
// error occurred?
if (result<0) {
ERR << "error while getting article data for posting" << endl;
nntp_close();
......
......@@ -83,7 +83,7 @@ protected:
/**
* All POP3 commands will generate a response. Each response will
* either be prefixed with a "+OK " or a "-ERR ". The getResponse
* fucntion will wait until there's data to be read, and then read in
* function will wait until there's data to be read, and then read in
* the first line (the response), and copy the response sans +OK/-ERR
* into a buffer (up to len bytes) if one was passed to it. It will
* return true if the response was affirmitave, or false otherwise.
......
......@@ -72,7 +72,7 @@
9-15-2002 - stuff
9-29-2002 - the last i18n string updates, fixed problem with uploading files to
openssh server.
5-8-2003 - check whether operation types are supported by the negociated sftp
5-8-2003 - check whether operation types are supported by the negotiated sftp
protocol version
DEBUGGING
......@@ -82,7 +82,7 @@ Ssh will detect this terminal and ask for a password there, but will just get ga
So we can't connect.
TODO
- Password caching doesn't work. We get a new dialog box everytime a new
- Password caching doesn't work. We get a new dialog box every time a new
kio_sftp process starts. Very annoying.
- Orphaned ssh processes are bad. Shame on me.
......
......@@ -74,7 +74,7 @@ private: // Private variables
/** Message id of the last sftp packet we sent. */
unsigned int mMsgId;
/** Type of packet we are expecting to recieve next. */
/** Type of packet we are expecting to receive next. */
unsigned char mExpected;
/** Current url */
......@@ -95,7 +95,7 @@ private: // private methods
* Example: SSH2_FXP_READLINK, SSH2_FXP_RENAME, etc.
*
* Returns true if the type is supported by the sftp protocol
* version negociated by the client and server (sftpVersion).
* version negotiated by the client and server (sftpVersion).
*/
bool isSupportedOperation(int type);
......
......@@ -101,7 +101,7 @@ public:
int waitForChild();
/**
* Wait until the pty has cleared the ECHO flag. This is usefull
* Wait until the pty has cleared the ECHO flag. This is useful
* when programs write a password prompt before they disable ECHO.
* Disabling it might flush any input that was written.
*/
......
......@@ -173,7 +173,7 @@ public:
void setExtendedCount(unsigned int c)
{ mExtendedCount = c; mFlags |= SSH2_FILEXFER_ATTR_EXTENDED; }
/** No extentions will be included when the file attribute is written
/** No extensions will be included when the file attribute is written
to a sftp packet. */
void clearExtensions()
{ mExtendedCount = 0; mFlags &= ~SSH2_FILEXFER_ATTR_EXTENDED; }
......
......@@ -846,7 +846,7 @@ See the KDE Control Center under Network, LANBrowsing for more information."));
} while (!loopFinished);
kdDebug(KIO_SMB)<<"Smb::listDir(): reading done: -"<<m_stdoutBuffer<<"-"<<endl;
//check the output from smbclient whether an error occured
//check the output from smbclient whether an error occurred
if (stopAfterError(_url,true))
return;
kdDebug(KIO_SMB)<<"Smb::listDir(): no error detected"<<endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment