summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-06-29 01:51:51 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-06-29 01:51:51 +0000
commitea5973038f28cad9eb6206bc386a02705b7d997a (patch)
treecb43dc18a45b05caf7f88352a0400a7e67102438 /lisp/net
parentf059add3889601ca1e4d7bdb74bc3e717c3dec23 (diff)
downloademacs-ea5973038f28cad9eb6206bc386a02705b7d997a.tar.gz
emacs-ea5973038f28cad9eb6206bc386a02705b7d997a.tar.bz2
emacs-ea5973038f28cad9eb6206bc386a02705b7d997a.zip
Fix typos.
* lisp/net/sasl.el (sasl-client-set-property, sasl-make-mechanism) (sasl-find-mechanism, sasl-next-step): * lisp/net/sasl-ntlm.el (sasl-ntlm-steps, sasl-ntlm-request) (sasl-ntlm-response): Fix typos in docstrings. * doc/misc/sasl.texi (Mechanisms): Fix typos.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/sasl-ntlm.el8
-rw-r--r--lisp/net/sasl.el12
2 files changed, 10 insertions, 10 deletions
diff --git a/lisp/net/sasl-ntlm.el b/lisp/net/sasl-ntlm.el
index 41a1fdb1867..7b8af9c78a3 100644
--- a/lisp/net/sasl-ntlm.el
+++ b/lisp/net/sasl-ntlm.el
@@ -36,12 +36,12 @@
'(ignore ;nothing to do before making
sasl-ntlm-request ;authentication request
sasl-ntlm-response) ;response to challenge
- "A list of functions to be called in sequnece for the NTLM
-authentication steps. Ther are called by 'sasl-next-step.")
+ "A list of functions to be called in sequence for the NTLM
+authentication steps. They are called by `sasl-next-step'.")
(defun sasl-ntlm-request (client step)
"SASL step function to generate a NTLM authentication request to the server.
-Called from 'sasl-next-step.
+Called from `sasl-next-step'.
CLIENT is a vector [mechanism user service server sasl-client-properties]
STEP is a vector [<previous step function> <result of previous step function>]"
(let ((user (sasl-client-name client)))
@@ -49,7 +49,7 @@ STEP is a vector [<previous step function> <result of previous step function>]"
(defun sasl-ntlm-response (client step)
"SASL step function to generate a NTLM response against the server
-challenge stored in the 2nd element of STEP. Called from 'sasl-next-step."
+challenge stored in the 2nd element of STEP. Called from `sasl-next-step'."
(let* ((user (sasl-client-name client))
(passphrase
(sasl-read-passphrase (format "NTLM passphrase for %s: " user)))
diff --git a/lisp/net/sasl.el b/lisp/net/sasl.el
index 23d8e622751..6616bffc343 100644
--- a/lisp/net/sasl.el
+++ b/lisp/net/sasl.el
@@ -86,7 +86,7 @@ The second argument PLIST is the new property list."
(setplist (aref client 4) plist))
(defun sasl-client-set-property (client property value)
- "Add the given property/value to CLIENT."
+ "Add the given PROPERTY/VALUE to CLIENT."
(put (aref client 4) property value))
(defun sasl-client-property (client property)
@@ -103,7 +103,7 @@ The second argument PLIST is the new property list."
(defun sasl-make-mechanism (name steps)
"Make an authentication mechanism.
NAME is a IANA registered SASL mechanism name.
-STEPS is list of continuation function."
+STEPS is list of continuation functions."
(vector name
(mapcar
(lambda (step)
@@ -121,7 +121,7 @@ STEPS is list of continuation function."
(aref mechanism 1))
(defun sasl-find-mechanism (mechanisms)
- "Retrieve an apropriate mechanism object from MECHANISMS hints."
+ "Retrieve an appropriate mechanism object from MECHANISMS hints."
(let* ((sasl-mechanisms sasl-mechanisms)
(mechanism
(catch 'done
@@ -147,9 +147,9 @@ STEPS is list of continuation function."
(defun sasl-next-step (client step)
"Evaluate the challenge and prepare an appropriate next response.
-The data type of the value and optional 2nd argument STEP is nil or
-opaque authentication step which holds the reference to the next action
-and the current challenge. At the first time STEP should be set to nil."
+The data type of the value and 2nd argument STEP is nil or opaque
+authentication step which holds the reference to the next action and
+the current challenge. At the first time STEP should be set to nil."
(let* ((steps
(sasl-mechanism-steps
(sasl-client-mechanism client)))