CVS: rdesktop scard.c,1.14,1.15

Michael Gernoth <[email protected]> Sat, 04 Nov 2006 09:33:17 -0800
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1031

Modified Files:
	scard.c 
Log Message:
initialize scard_mutex


Index: scard.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/scard.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** scard.c	3 Nov 2006 23:51:35 -0000	1.14
--- scard.c	4 Nov 2006 17:33:15 -0000	1.15
***************
*** 2624,2629 ****
--- 2624,2636 ----
  	if (!scard_mutex)
  	{
+ 		int i;
+ 
  		scard_mutex =
  			(pthread_mutex_t **) xmalloc(sizeof(pthread_mutex_t *) * SCARD_LOCK_LAST);
+ 
+ 		for (i = 0; i < SCARD_LOCK_LAST; i++)
+ 		{
+ 			scard_mutex[i] = NULL;
+ 		}
  	}
  


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642