[tracker] Set the correct value in local_uri to generate documentation



commit 6c10e2a966eea3bbd4d767008b4145e4897c81bc
Author: Ivan Frade <ivan frade nokia com>
Date:   Fri Sep 25 15:33:33 2009 +0300

    Set the correct value in local_uri to generate documentation

 utils/services/qname.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/utils/services/qname.c b/utils/services/qname.c
index 401a429..6991e75 100644
--- a/utils/services/qname.c
+++ b/utils/services/qname.c
@@ -36,7 +36,7 @@ qname_init (const gchar *luri)
                 g_warning ("Reinitializing qname_module");
                 g_free (local_uri);
         }
-        local_uri = g_strdup (local_uri);
+        local_uri = g_strdup (luri);
 }
 
 void   
@@ -50,7 +50,7 @@ qname_to_link (const gchar *qname)
 {
         gchar **pieces;
         gchar *name;
-
+        g_debug ("link for qname '%s' (local_uri = '%s')\n", qname, local_uri);
         if (local_uri) {
                 /* There is a local URI! */
                 if (g_str_has_prefix (qname, local_uri)) {



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