mirror of https://github.com/FreeRDP/FreeRDP
Fixed API nonnull warning.
This commit is contained in:
parent
51cc567dc6
commit
e52fdc805a
|
@ -325,7 +325,10 @@ int freerdp_assistance_parse_connection_string2(rdpAssistanceFile* file)
|
|||
p += length;
|
||||
}
|
||||
|
||||
if (p)
|
||||
p = strstr(p, "ID=\"");
|
||||
else
|
||||
p = _strdup("ID=\"");
|
||||
|
||||
if (p)
|
||||
{
|
||||
|
@ -348,7 +351,10 @@ int freerdp_assistance_parse_connection_string2(rdpAssistanceFile* file)
|
|||
p += length;
|
||||
}
|
||||
|
||||
if (p)
|
||||
p = strstr(p, "<L P=\"");
|
||||
else
|
||||
p = _strdup("<L P=\"");
|
||||
|
||||
while (p)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue