From 6eeeb84c96d3f42c0e7726f8f45c06a0a886b4e4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Dec 2014 19:05:23 +0100 Subject: import: fix compiler warning --- src/import/import-dkr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/import') diff --git a/src/import/import-dkr.c b/src/import/import-dkr.c index e2910f940f..205deb9cda 100644 --- a/src/import/import-dkr.c +++ b/src/import/import-dkr.c @@ -1103,7 +1103,7 @@ int dkr_import_pull(DkrImport *import, const char *index_url, const char *name, return -ENOMEM; e = endswith(n->index_url, "/"); if (e) - *e = NULL; + *e = 0; n->name = strdup(name); if (!n->name) -- cgit v1.2.3-54-g00ecf