> I recieved a patch from Henrik Holst of witsbits that will show the namespace 
> when you issue a propget. This patch is attached for anyone interested. 

Another attempt to attach the patch :/

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--- ../../cadaver-0.23.2-orgi/src/commands.c	2008-08-28 16:06:33.644441766 +0200
+++ commands.c	2008-08-28 16:14:54.917115338 +0200
@@ -550,14 +550,16 @@
 static int all_iterator(void *userdata, const ne_propname *pname,
 			 const char *value, const ne_status *status)
 {
+    char *dnspace = utf8_decode(pname->nspace);
     char *dname = utf8_decode(pname->name);
     if (value != NULL) {
 	char *dval = utf8_decode(value);
-	printf("%s = %s\n", dname, dval);
+	printf("%s %s = %s\n", dnspace, dname, dval);
 	free(dval);
     } else if (status != NULL) {
-	printf(_("%s failed: %s\n"), dname, status->reason_phrase);
+	printf(_("%s %s failed: %s\n"), dnspace, dname, status->reason_phrase);
     }
+    free(dnspace);
     free(dname);
     return 0;
 }
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to