xrdp.ini read doesn't honor commented out sections
Status: Beta
Brought to you by:
jsorg71
When xrdp.ini is read it doesn't honor commented out sessions/modules.
100% reproducible, comment out any [xrdp#] section in xrdp.ini and restart service.
It appears to be a function of how file.c processes lines.
I have attached a patch file with the lines needed to resolve the issue.
I apologize if it requires any editing to merge easily, and would appreciate any advice for improving future patch files.
patch for common/file.c
updated title for clarity.