chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039f0e7
)
import: fix compiler warning
author
Lennart Poettering
<lennart@poettering.net>
Tue, 23 Dec 2014 18:05:23 +0000
(19:05 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 23 Dec 2014 18:15:27 +0000
(19:15 +0100)
src/import/import-dkr.c
patch
|
blob
|
history
diff --git
a/src/import/import-dkr.c
b/src/import/import-dkr.c
index e2910f940fa1a69702e24739d029bfca0c3b5ab3..205deb9cda62e6fd0bd9de80f1ce9a646ef6f9e6 100644
(file)
--- 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)