diff modules/http.tp @ 163:f594e6836c44

Fix silly typo in http module
author Mike Pavone <pavone@retrodev.com>
date Sat, 10 Aug 2013 19:09:22 -0700
parents 729dc894e61c
children
line wrap: on
line diff
--- a/modules/http.tp	Sat Aug 10 18:58:40 2013 -0700
+++ b/modules/http.tp	Sat Aug 10 19:09:22 2013 -0700
@@ -80,7 +80,7 @@
 		rest <- ""
 		status <- ""
 		while: { waiting } do: {
-			data <- sock recv 4096
+			data <- sock recv: 4096
 			resp <- resp . data
 			pos <- resp find: "\r\n\r\n" else: { -1 }
 			if: pos >= 0 {