Author: dna
Date: 2008-02-17 11:17:32 -0500 (Sun, 17 Feb 2008)
New Revision: 95979

Modified:
   trunk/mcs/class/System/System.Net/HttpWebResponse.cs
Log:
fixed typo



Modified: trunk/mcs/class/System/System.Net/HttpWebResponse.cs
===================================================================
--- trunk/mcs/class/System/System.Net/HttpWebResponse.cs        2008-02-17 
16:06:24 UTC (rev 95978)
+++ trunk/mcs/class/System/System.Net/HttpWebResponse.cs        2008-02-17 
16:17:32 UTC (rev 95979)
@@ -463,7 +463,7 @@
                        if (value == null || value.Length == 0)
                                return DateTime.MinValue;
 
-                       for (int i = 0; i <= cookieExpiresFormats.Length; i++)
+                       for (int i = 0; i < cookieExpiresFormats.Length; i++)
                        {
                                try {
                                        DateTime cookieExpiresUtc = 
DateTime.ParseExact (value, cookieExpiresFormats [i], 
CultureInfo.InvariantCulture);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to