[couchdb-glib] Never have a NULL URI



commit 63351aa9587450a66ee7e1bcc634d3e19a1abf28
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Tue Apr 6 15:08:48 2010 +0200

    Never have a NULL URI

 couchdb-glib/couchdb-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/couchdb-glib/couchdb-session.c b/couchdb-glib/couchdb-session.c
index 725406d..49093df 100644
--- a/couchdb-glib/couchdb-session.c
+++ b/couchdb-glib/couchdb-session.c
@@ -249,7 +249,7 @@ CouchdbSession *
 couchdb_session_new (const char *uri)
 {
 	if (!uri)
-		uri = "http://localhost:5984";;
+		uri = "http://127.0.0.1:5984";;
 
 	return g_object_new (COUCHDB_TYPE_SESSION, "uri", uri, NULL);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]