/[rdesktop]/jpeg/rdesktop/trunk/cliprdr.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/cliprdr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 402 by forsberg, Fri Jun 6 10:39:10 2003 UTC revision 418 by forsberg, Fri Jun 6 12:34:56 2003 UTC
# Line 20  Line 20 
20    
21  #include <X11/Xlib.h>  #include <X11/Xlib.h>
22  #include <X11/Xatom.h>  #include <X11/Xatom.h>
23    #include <sys/time.h>
24    #include <sys/types.h>
25    #include <unistd.h>
26  #include "rdesktop.h"  #include "rdesktop.h"
27    
28  extern BOOL encryption;  extern BOOL encryption;
# Line 80  static void Line 83  static void
83  cliprdr_send_format_announce(void)  cliprdr_send_format_announce(void)
84  {  {
85          STREAM s;          STREAM s;
   
         DEBUG_CLIPBOARD(("Sending (empty) format announce\n"));  
86          int number_of_formats = 1;          int number_of_formats = 1;
87            DEBUG_CLIPBOARD(("Sending (empty) format announce\n"));
88          s = sec_init(encryption ? SEC_ENCRYPT : 0, number_of_formats * 36 + 12 + 4 + 4);          s = sec_init(encryption ? SEC_ENCRYPT : 0, number_of_formats * 36 + 12 + 4 + 4);
89          out_uint32_le(s, number_of_formats * 36 + 12);          out_uint32_le(s, number_of_formats * 36 + 12);
90          out_uint32_le(s, 0x13);          out_uint32_le(s, 0x13);

Legend:
Removed from v.402  
changed lines
  Added in v.418

  ViewVC Help
Powered by ViewVC 1.1.26