Fixes bug with mouse scroll handling.
X mouse scroll events comes as mouse button press and release
events. On the windows sider the release is interpreted as an
additional scroll down event.

Thanks goes to David Fries for this patch.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1699 6ed3e302-cbb0-46be-b2a8-fc98bdbf2350
Fixes a memoryleak in rdpdr_process_irp upon error.
Thansk goes to David Fries for patches.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1700 6ed3e302-cbb0-46be-b2a8-fc98bdbf2350
Fix crash when a invalid device is received in rdpdr_process_irp.
Thanks goes to David Fries for the patch.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1701 6ed3e302-cbb0-46be-b2a8-fc98bdbf2350
Fix indentation.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1702 6ed3e302-cbb0-46be-b2a8-fc98bdbf2350
Add missing format string to snprintf's.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1703 6ed3e302-cbb0-46be-b2a8-fc98bdbf2350
Zero out format struct before use.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1704 6ed3e302-cbb0-46be-b2a8-fc98bdbf2350
Initial support for CredSSP smartcard authentication.

- Add implementation of TSSmartCardCreds and TSCSPDataDetail for
  CredSSP protocol.
- Add handling of long opts for getopt()
- Added 4 new long opts for providing information to CredSSP which
  is required for smartcard credentials.
- Updated manual with information about the new arguments.

If smartcard authentication is request by commandline "-i" option,
and no CredSSP smartcard options is provided, rdesktop will
negotiate to use SSL and warn.




git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1705 6ed3e302-cbb0-46be-b2a8-fc98bdbf2350
Remove the use of getopt_long() introduced in previous commit.

Replace it with normal getopt() as we had before to prevent breaking
build of rdesktop on other platforms like solaris.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1706 6ed3e302-cbb0-46be-b2a8-fc98bdbf2350