CVS: rdesktop xwin.c,1.197,1.198
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-serv25355
Modified Files:
xwin.c
Log Message:
cache_get_text never returns NULL, so check if entry->data is NULL
instead.
Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.197
retrieving revision 1.198
diff -C2 -d -r1.197 -r1.198
*** xwin.c 18 Nov 2005 22:46:38 -0000 1.197
--- xwin.c 23 Nov 2005 12:49:37 -0000 1.198
***************
*** 2468,2472 ****
}
entry = cache_get_text(text[i + 1]);
! if (entry != NULL)
{
if ((((uint8 *) (entry->data))[1] ==
--- 2468,2472 ----
}
entry = cache_get_text(text[i + 1]);
! if (entry->data != NULL)
{
if ((((uint8 *) (entry->data))[1] ==
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click