Author: gonzalo
Date: 2006-09-16 14:42:25 -0400 (Sat, 16 Sep 2006)
New Revision: 65521
Modified:
trunk/google-sharp/ChangeLog
trunk/google-sharp/src/Mono.Google/GoogleConnection.cs
Log:
2006-09-16 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* src/Mono.Google/GoogleConnection.cs: avoid nullref.
Modified: trunk/google-sharp/ChangeLog
===================================================================
--- trunk/google-sharp/ChangeLog 2006-09-16 18:29:52 UTC (rev 65520)
+++ trunk/google-sharp/ChangeLog 2006-09-16 18:42:25 UTC (rev 65521)
@@ -1,3 +1,7 @@
+2006-09-16 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * src/Mono.Google/GoogleConnection.cs: avoid nullref.
+
2006-09-15 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* src/Mono.Google/GoogleConnection.cs: some changes to make it work on
Modified: trunk/google-sharp/src/Mono.Google/GoogleConnection.cs
===================================================================
--- trunk/google-sharp/src/Mono.Google/GoogleConnection.cs 2006-09-16
18:29:52 UTC (rev 65520)
+++ trunk/google-sharp/src/Mono.Google/GoogleConnection.cs 2006-09-16
18:42:25 UTC (rev 65521)
@@ -177,6 +177,9 @@
void AddCookiesFromHeader (Uri uri, string header)
{
+ if (header == null || header == "")
+ return;
+
string name, val;
Cookie cookie = null;
CookieParser parser = new CookieParser (header);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches