FreeRDP/FreeRDP — comment on commit 927bc717809030a793a0626b37f7c82a8a937150
File: libfreerdp-core/info.c line 544
By hcgpalm:

I understand what you had in mind, but I'm confused about this whole -2
/ +2 deal. In the normal case cbPassword == length(password), but when
the password is a cookie, then cbPassword == length(password) - 2.
Sounds weird to me :-)

Anyway, I pushed a fix here:
https://github.com/hcgpalm/FreeRDP/commit/ded92bc9cd7379d054428fb5042df0e3e5bfc111

Would it be possible for you or someone else to test the redirection
case with this code before I send a pull request?

On 02/06/2012 01:09 AM, adambprotiviti wrote:
> I would be like this under that if (cbPassword> 0)
> if (settings->password_cookie->length> 0)
> --->add two
> else
> --> don't add two
> end if
>
> ... I have a dev environment set up just working on something else at the moment. Let me know if you don't have git etc set up and I'll just do it.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/FreeRDP/FreeRDP/commit/927bc717809030a793a0626b37f7c82a8a937150#commitcomment-934968
>