PERFORCE change 166664 for review

Jonathan Anderson jona at FreeBSD.org
Mon Jul 27 22:44:36 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=166664

Change 166664 by jona at jona-trustedbsd-belle-vmware on 2009/07/27 22:44:02

	No need for perror(), as error handling is now being done higher up in the stack

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/tools/cap/user_angel/server.c#19 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/tools/cap/user_angel/server.c#19 (text+ko) ====

@@ -476,11 +476,7 @@
 
 
 	struct ua_datum *fdcount = ua_marshall_int(len);
-	if(ua_send(client->socket, fdcount, NULL, 0) < 0)
-	{
-		perror("Error sending FD count");
-		return -1;
-	}
+	if(ua_send(client->socket, fdcount, NULL, 0) < 0) return -1;
 
 	printf(": ");
 	for(int i = 0; i < len; i++)


More information about the p4-projects mailing list