oops, still using the same protocol

svn: r893
This commit is contained in:
Eli Barzilay 2005-09-21 04:41:51 +00:00
parent b6e2853d2c
commit a3fae4a355

View File

@ -480,8 +480,8 @@
;; see note on close-output-port below
(close-output-port w)))])
(let ([protocol (read r-safe)])
(if (eq? protocol 'ver1)
(write+flush w 'ver1)
(if (eq? protocol 'original)
(write+flush w 'original)
(error 'handin "unknown protocol: ~s" protocol)))
(accept-submission-or-update (assignment-list) r r-safe w)
(LOG "normal exit")