diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-23 19:05:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-23 19:15:27 +0100 |
commit | 6eeeb84c96d3f42c0e7726f8f45c06a0a886b4e4 (patch) | |
tree | fd7abfa44c83496443b22057d6c9fe2c28b31103 | |
parent | 039f0e70a0fcd71dcf7cc2f3ba2cea2e3b186a60 (diff) |
import: fix compiler warning
-rw-r--r-- | src/import/import-dkr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |