Fix rdp file writer
authorMartin Fleisz <martin.fleisz@thincast.com>
Thu, 18 Jul 2019 08:59:59 +0000 (10:59 +0200)
committerakallabeth <akallabeth@users.noreply.github.com>
Thu, 18 Jul 2019 09:56:27 +0000 (11:56 +0200)
commit73c90e6e726f26f1167d905ca703b885c02d8940
tree8316ac06cd6bb9ccadb4523ea872f58b47c80b07
parent397db534d27a67f1f3fb49cfb2bbe04fda790067
Fix rdp file writer

The RDP file writer was based on previously parsed lines from an
existing rdp file. If you created a new rdpFile, populated it from
settings and tried to write it to a file you just got an error. This PR
fixes this issue by creating the data from the rdpFile properties rather
than the parsed lines.
client/common/file.c