fixed install target and a missing return statement in libidav

Wed, 13 Jul 2016 10:00:48 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 13 Jul 2016 10:00:48 +0200
changeset 242
a39be87d34d4
parent 241
da7ace67deab
child 243
f5921d151c29

fixed install target and a missing return statement in libidav

Makefile file | annotate | diff | comparison | revisions
libidav/webdav.c file | annotate | diff | comparison | revisions
--- a/Makefile	Wed Jul 06 12:00:18 2016 +0200
+++ b/Makefile	Wed Jul 13 10:00:48 2016 +0200
@@ -68,7 +68,7 @@
 clean: FORCE
 	$(RM) $(RMFLAGS) -R build/
 
-install:
+install: FORCE
 	@echo "install to $(DESTDIR)"
 	./install-sh -d $(DESTDIR)/bin
 	./install-sh build/dav $(DESTDIR)/bin
--- a/libidav/webdav.c	Wed Jul 06 12:00:18 2016 +0200
+++ b/libidav/webdav.c	Wed Jul 13 10:00:48 2016 +0200
@@ -187,6 +187,7 @@
     if(name) {
         return ucx_map_cstr_get(context->keys, name);
     }
+    return NULL;
 }
 
 int dav_add_namespace(DavContext *context, char *prefix, char *name) {

mercurial