File lftp-missing-sentinel.patch of Package lftp

--- src/CmdExec.cc
+++ src/CmdExec.cc
@@ -1068,7 +1068,7 @@
    {
       const char *arg=String(start++);
       if(CmdExec::needs_quotation(arg))
-	 res.vappend("\"",CmdExec::unquote(arg),"\"",NULL);
+	 res.vappend("\"",CmdExec::unquote(arg),"\"", (char *) NULL);
       else
 	 res.append(arg);
       if(start>=Count())
@@ -1297,7 +1297,7 @@
    queue->SetParentFg(this,false);
    queue->AllocJobno();
    const char *url=session->GetConnectURL(FA::NO_PATH);
-   queue->cmdline.vset("queue (",url,slot?"; ":"",slot?slot.get():"",")",NULL);
+   queue->cmdline.vset("queue (",url,slot?"; ":"",slot?slot.get():"",")", (char *)NULL);
    queue->queue_feeder=new QueueFeeder(session->GetCwd(), cwd->GetName());
    queue->SetCmdFeeder(queue->queue_feeder);
    queue->Reconfig(0);
openSUSE Build Service is sponsored by