summary refs log tree commit diff stats
path: root/lib/pure/cgi.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/cgi.nim')
-rwxr-xr-xlib/pure/cgi.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/cgi.nim b/lib/pure/cgi.nim
index 210af00fc..490ae926d 100755
--- a/lib/pure/cgi.nim
+++ b/lib/pure/cgi.nim
@@ -1,7 +1,7 @@
 #
 #
 #            Nimrod's Runtime Library
-#        (c) Copyright 2009 Andreas Rumpf
+#        (c) Copyright 2010 Andreas Rumpf
 #
 #    See the file "copying.txt", included in this
 #    distribution, for details about the copyright.
@@ -170,7 +170,7 @@ iterator decodeData*(allowedMethods: set[TRequestMethod] =
   var data = getEncodedData(allowedMethods)
   if not isNil(data): 
     for key, value in decodeData(data):
-      yield key, value
+      yield (key, value)
 
 proc readData*(allowedMethods: set[TRequestMethod] = 
                {methodNone, methodPost, methodGet}): PStringTable =