Fix typo.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 27 Nov 2010 18:45:14 +0000 (19:45 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 27 Nov 2010 18:45:14 +0000 (19:45 +0100)
lisp/proto-stream.el

index 3826068..da6cab9 100644 (file)
@@ -150,7 +150,7 @@ command to switch on STARTTLS otherwise."
          (list stream greeting capabilities)))))))
 
 (defun proto-stream-command (stream command eoc)
-  (let ((start (with-current-buffer buffer (point-max))))
+  (let ((start (with-current-buffer (process-buffer stream) (point-max))))
     (process-send-string stream command)
     (proto-stream-get-response stream start eoc)))