Revision 39324ca4
b/qemu-char.c | ||
---|---|---|
2341 | 2341 |
qemu_opt_set(opts, "backend", "udp"); |
2342 | 2342 |
if (sscanf(p, "%64[^:]:%32[^@,]%n", host, port, &pos) < 2) { |
2343 | 2343 |
host[0] = 0; |
2344 |
if (sscanf(p, ":%32[^,]%n", port, &pos) < 1) { |
|
2344 |
if (sscanf(p, ":%32[^@,]%n", port, &pos) < 1) {
|
|
2345 | 2345 |
goto fail; |
2346 | 2346 |
} |
2347 | 2347 |
} |
Also available in: Unified diff