CVS: rdesktop seamless.c,1.1.2.6,1.1.2.7

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2665

Modified Files:
      Tag: seamlessrdp-branch
	seamless.c 
Log Message:
Always printing what we are sending, when DEBUG_SEAMLESS is enabled. 
Use 0x%08lx instead of 0x%p.


Index: seamless.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/Attic/seamless.c,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** seamless.c	10 Mar 2006 15:19:52 -0000	1.1.2.6
--- seamless.c	13 Mar 2006 15:04:51 -0000	1.1.2.7
***************
*** 68,72 ****
  	p = l;
  
! 	DEBUG_SEAMLESS(("seamlessrdp line:%s\n", p));
  
  	if (!g_seamless_rdp)
--- 68,72 ----
  	p = l;
  
! 	DEBUG_SEAMLESS(("seamlessrdp got:%s\n", p));
  
  	if (!g_seamless_rdp)
***************
*** 261,264 ****
--- 261,266 ----
  	out_uint8p(s, buf, len) s_mark_end(s);
  
+ 	DEBUG_SEAMLESS(("SeamlessRDP sending:%s", buf));
+ 
  #if 0
  	printf("seamless send:\n");
***************
*** 280,285 ****
  seamless_send_state(unsigned long id, unsigned int state, unsigned long flags)
  {
! 
! 	DEBUG_SEAMLESS(("sending STATE,0x%p,0x%x,0x%x\n", id, state, flags));
! 	seamless_send("STATE,0x%p,0x%x,0x%x", id, state, flags);
  }
--- 282,285 ----
  seamless_send_state(unsigned long id, unsigned int state, unsigned long flags)
  {
! 	seamless_send("STATE,0x%08lx,0x%x,0x%lx\n", id, state, flags);
  }



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.