GUACAMOLE-422: Revert addition of logging for setting TZ variable.

This commit is contained in:
Nick Couchman 2018-11-11 16:07:20 -05:00
parent 0b71559017
commit b3be9eb869

View File

@ -1281,15 +1281,8 @@ void guac_rdp_push_settings(guac_rdp_settings* guac_settings, freerdp* rdp) {
#endif
/* Device redirection */
if (guac_settings->timezone) {
/* Set the TZ env variable */
if (setenv("TZ", guac_settings->timezone, 1)) {
guac_user_log(user, GUAC_LOG_WARNING, "Could not set TZ "
"variable. Received error %i", errno);
}
}
if (guac_settings->timezone)
setenv("TZ", guac_settings->timezone, 1)
#ifdef LEGACY_RDPSETTINGS
#ifdef HAVE_RDPSETTINGS_DEVICEREDIRECTION