Skip to content

Commit 48bc09a

Browse files
committed
Fix typo.
Signed-off-by: Stelian Ionescu <[email protected]>
1 parent bf0ac5f commit 48bc09a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

net.sockets/make-socket.lisp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ If a non-local exit occurs during the execution of `BODY' call CLOSE with :ABORT
5656
(:ipv4 (create-socket :ipv4 ,@args))
5757
(:ipv6 (create-socket :ipv6 ,@args))))
5858

59-
(defmacro with-guard-again-non-list-args-and-destructuring-bind-errors
59+
(defmacro with-guard-against-non-list-args-and-destructuring-bind-errors
6060
(form args &body body)
6161
`(if (listp ,args)
6262
(handler-case (progn ,@body)
@@ -100,7 +100,7 @@ If a non-local exit occurs during the execution of `BODY' call CLOSE with :ABORT
100100
input-buffer-size output-buffer-size)))
101101

102102
(define-compiler-macro %make-internet-stream-active-socket (&whole form args family ef)
103-
(with-guard-again-non-list-args-and-destructuring-bind-errors
103+
(with-guard-against-non-list-args-and-destructuring-bind-errors
104104
form args
105105
(destructuring-bind (&key keepalive nodelay (reuse-address t)
106106
local-host (local-port 0)
@@ -140,7 +140,7 @@ If a non-local exit occurs during the execution of `BODY' call CLOSE with :ABORT
140140
local-host local-port backlog)))
141141

142142
(define-compiler-macro %make-internet-stream-passive-socket (&whole form args family ef)
143-
(with-guard-again-non-list-args-and-destructuring-bind-errors
143+
(with-guard-against-non-list-args-and-destructuring-bind-errors
144144
form args
145145
(destructuring-bind (&key interface (reuse-address t)
146146
(local-host +any-host+) (local-port 0)
@@ -174,7 +174,7 @@ If a non-local exit occurs during the execution of `BODY' call CLOSE with :ABORT
174174
input-buffer-size output-buffer-size)))
175175

176176
(define-compiler-macro %make-local-stream-active-socket (&whole form args family ef)
177-
(with-guard-again-non-list-args-and-destructuring-bind-errors
177+
(with-guard-against-non-list-args-and-destructuring-bind-errors
178178
form args
179179
(destructuring-bind (&key local-filename remote-filename
180180
input-buffer-size output-buffer-size)
@@ -203,7 +203,7 @@ If a non-local exit occurs during the execution of `BODY' call CLOSE with :ABORT
203203
(%%make-local-stream-passive-socket family ef local-filename reuse-address backlog)))
204204

205205
(define-compiler-macro %make-local-stream-passive-socket (&whole form args family ef)
206-
(with-guard-again-non-list-args-and-destructuring-bind-errors
206+
(with-guard-against-non-list-args-and-destructuring-bind-errors
207207
form args
208208
(destructuring-bind (&key local-filename (reuse-address t)
209209
(backlog *default-backlog-size*))
@@ -243,7 +243,7 @@ If a non-local exit occurs during the execution of `BODY' call CLOSE with :ABORT
243243
local-host local-port remote-host remote-port)))
244244

245245
(define-compiler-macro %make-internet-datagram-socket (&whole form args family ef)
246-
(with-guard-again-non-list-args-and-destructuring-bind-errors
246+
(with-guard-against-non-list-args-and-destructuring-bind-errors
247247
form args
248248
(destructuring-bind (&key broadcast interface (reuse-address t)
249249
local-host (local-port 0)
@@ -272,7 +272,7 @@ If a non-local exit occurs during the execution of `BODY' call CLOSE with :ABORT
272272
(%%make-local-datagram-socket family ef local-filename remote-filename)))
273273

274274
(define-compiler-macro %make-local-datagram-socket (&whole form args family ef)
275-
(with-guard-again-non-list-args-and-destructuring-bind-errors
275+
(with-guard-against-non-list-args-and-destructuring-bind-errors
276276
form args
277277
(destructuring-bind (&key local-filename remote-filename)
278278
(cdr args)

0 commit comments

Comments
 (0)