[Goodies-commits] r6382 - sion/trunk/src

Enrico Troeger enrico at xfce.org
Mon Dec 29 19:16:17 CET 2008


Author: enrico
Date: 2008-12-29 18:16:17 +0000 (Mon, 29 Dec 2008)
New Revision: 6382

Modified:
   sion/trunk/src/bookmark.c
Log:
Quote URI string in error messages.

Modified: sion/trunk/src/bookmark.c
===================================================================
--- sion/trunk/src/bookmark.c	2008-12-29 18:15:54 UTC (rev 6381)
+++ sion/trunk/src/bookmark.c	2008-12-29 18:16:17 UTC (rev 6382)
@@ -134,7 +134,7 @@
 	s = strstr(uri, "://");
 	if (priv->scheme == NULL || s == NULL)
 	{
-		verbose("Error parsing URI %s while reading URI scheme", uri);
+		verbose("Error parsing URI '%s' while reading URI scheme", uri);
 		bookmark_clear(bm);
 		return FALSE;
 	}
@@ -158,7 +158,7 @@
 		}
 		if (l == 0)
 		{
-			verbose("Error parsing URI %s while reading username", uri);
+			verbose("Error parsing URI '%s' while reading username", uri);
 			bookmark_clear(bm);
 			return FALSE;
 		}
@@ -175,7 +175,7 @@
 		hostend = strchr(s, ']');
 		if (! hostend || hostend > end)
 		{
-			verbose("Error parsing URI %s, missing ']'", uri);
+			verbose("Error parsing URI '%s', missing ']'", uri);
 			bookmark_clear(bm);
 			return FALSE;
 		}




More information about the Goodies-commits mailing list