Commit 48d3271f authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

localspl: Ignore an empty output string.

We should probably ignore all incorrect ports. This is a minimal change that restores 5dadeeb2 commit. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54379
parent 2bfe9ce8
......@@ -3697,7 +3697,7 @@ static BOOL WINAPI fpScheduleJob(HANDLE hprinter, DWORD job_id)
}
port = job->port;
if (!port)
if (!port || !*port)
port = printer->info->port;
TRACE("need to schedule job %ld filename %s to port %s\n", job->id,
debugstr_w(job->filename), debugstr_w(port));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment