X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fconf-parser.c;h=a71dcd0d8fb8c87460ea24f81b244334ce740519;hp=3bb430e375183499889243ee9ef14169e141123a;hb=de7b95cdc3228131498021c2fdcf6647004c3920;hpb=44d91056924e1e64699892f71121b40c46489e57 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; }