summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-01-17 22:19:10 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2010-01-17 22:19:10 +0100
commit8259d9d15aa34dbbd84bb19150ab16a27378dd88 (patch)
tree585fa5a6e030824a4122ad7597fb81e47351c388 /lib/pure
parent5c33646e8312b7669b4829156bbf44875d22c7cd (diff)
downloadNim-8259d9d15aa34dbbd84bb19150ab16a27378dd88.tar.gz
wrappers do not contain invalid identifiers
Diffstat (limited to 'lib/pure')
-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 =