[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trousers-cvs
Subject:    [Trousers-cvs] trousers/src/tspi/ps tspps.c
From:       Rajiv Andrade <phreakz () users ! sourceforge ! net>
Date:       2009-07-20 18:49:43
Message-ID: E1MSxvj-0002sD-Ad () ddv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/trousers/trousers/src/tspi/ps
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11014/src/tspi/ps

Modified Files:
	tspps.c 
Log Message:
tmp isn't a pointer here. Fixed 'error code translation' function call
too.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>


Index: tspps.c
===================================================================
RCS file: /cvsroot/trousers/trousers/src/tspi/ps/tspps.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** tspps.c	20 Jul 2009 17:22:35 -0000	1.25
--- tspps.c	20 Jul 2009 18:49:41 -0000	1.26
***************
*** 281,286 ****
  	if (tmp.blob_size > 4096) {
  		LogError("Blob size greater than 4096! Size:  %d",
! 			  tmp->blob_size);
! 		return TCSERR(TSS_E_INTERNAL_ERROR);
  	}
  	if ((rc = read_data(fd, buf, tmp.blob_size))) {
--- 281,286 ----
  	if (tmp.blob_size > 4096) {
  		LogError("Blob size greater than 4096! Size:  %d",
! 			  tmp.blob_size);
! 		return TSPERR(TSS_E_INTERNAL_ERROR);
  	}
  	if ((rc = read_data(fd, buf, tmp.blob_size))) {
***************
*** 319,324 ****
  	if (tmp.blob_size > 4096) {
  		LogError("Blob size greater than 4096! Size:  %d",
! 			  tmp->blob_size);
! 		return TCSERR(TSS_E_INTERNAL_ERROR);
  	}
  
--- 319,324 ----
  	if (tmp.blob_size > 4096) {
  		LogError("Blob size greater than 4096! Size:  %d",
! 			  tmp.blob_size);
! 		return TSPERR(TSS_E_INTERNAL_ERROR);
  	}
  


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Trousers-cvs mailing list
Trousers-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/trousers-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic