X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fconf-parser.c;h=a71dcd0d8fb8c87460ea24f81b244334ce740519;hb=2096e009a790073a934f5cd07d17024d3b199d0b;hp=3bb430e375183499889243ee9ef14169e141123a;hpb=44d91056924e1e64699892f71121b40c46489e57;p=elogind.git diff --git a/src/conf-parser.c b/src/conf-parser.c index 3bb430e37..a71dcd0d8 100644 --- a/src/conf-parser.c +++ b/src/conf-parser.c @@ -314,7 +314,7 @@ int config_parse( continuation = c; else { continuation = strdup(l); - if (!c) { + if (!continuation) { r = -ENOMEM; goto finish; }