Browse code
1.6
jkf authored on 06/06/2000 15:46:16
Showing 2 changed files
Showing 2 changed files
... | ... |
@@ -19,7 +19,7 @@ |
19 | 19 |
;; Commercial Software developed at private expense as specified in |
20 | 20 |
;; DOD FAR Supplement 52.227-7013 (c) (1) (ii), as applicable. |
21 | 21 |
;; |
22 |
-;; $Id: imap.cl,v 1.12 2000/04/26 21:33:40 jkf Exp $ |
|
22 |
+;; $Id: imap.cl,v 1.13 2000/06/06 15:46:16 jkf Exp $ |
|
23 | 23 |
|
24 | 24 |
;; Description: |
25 | 25 |
;; |
... | ... |
@@ -94,7 +94,7 @@ |
94 | 94 |
|
95 | 95 |
(provide :imap) |
96 | 96 |
|
97 |
-(defparameter *imap-version-number* '(:major 1 :minor 5)) ; major.minor |
|
97 |
+(defparameter *imap-version-number* '(:major 1 :minor 6)) ; major.minor |
|
98 | 98 |
|
99 | 99 |
;; todo |
100 | 100 |
;; have the list of tags selected done on a per connection basis to |
... | ... |
@@ -1292,7 +1292,7 @@ |
1292 | 1292 |
then (return :eof)) |
1293 | 1293 |
|
1294 | 1294 |
(setq ch (char text next)) |
1295 |
- |
|
1295 |
+ (format t " state ~s char ~s~%" state ch) |
|
1296 | 1296 |
(if* (eq ch #\return) |
1297 | 1297 |
thenret ; ignore return, (handle following linefeed) |
1298 | 1298 |
else (case state |
... | ... |
@@ -1311,6 +1311,7 @@ |
1311 | 1311 |
(2 ; looking for first non blank in value |
1312 | 1312 |
(if* (eq ch #\linefeed) |
1313 | 1313 |
then ; empty continuation line, ignore |
1314 |
+ (incf next) |
|
1314 | 1315 |
(go again) |
1315 | 1316 |
elseif (not (member ch |
1316 | 1317 |
(member ch |
... | ... |
@@ -1387,9 +1388,10 @@ |
1387 | 1388 |
(multiple-value-bind (line count) |
1388 | 1389 |
(get-line-from-server mb) |
1389 | 1390 |
(if* *debug-imap* |
1390 |
- then (format t "from server: " count) |
|
1391 |
+ then (format t "from server: ") |
|
1391 | 1392 |
(dotimes (i count)(write-char (schar line i))) |
1392 |
- (terpri)) |
|
1393 |
+ (terpri) |
|
1394 |
+ (force-output)) |
|
1393 | 1395 |
|
1394 | 1396 |
(parse-imap-response line count) |
1395 | 1397 |
)) |