diff --git a/ChangeLog b/ChangeLog index 575ef47b..bd5ca47a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15727,3 +15727,5 @@ * Incremented the package version to 2.15.3int00. 2017-04-11 Fred Gleason * Fixed a typo in 'lib/Makefile.am'. +2017-04-11 Fred Gleason + * Fixed a bug in 'lib/rduser.cpp' that broke the build on Windows. diff --git a/lib/rduser.cpp b/lib/rduser.cpp index 7a6fc6c9..32d331c7 100644 --- a/lib/rduser.cpp +++ b/lib/rduser.cpp @@ -67,13 +67,14 @@ bool RDUser::authenticated(bool webuser) const } delete q; } +#ifndef WIN32 else { QString cmd= "rdauth "+pamService()+" \""+user_name+"\" \""+user_password+"\""; int exitcode=system(cmd); return WEXITSTATUS(exitcode)==0; } - +#endif // WIN32 return false; }