Revision: 48418
http://brlcad.svn.sourceforge.net/brlcad/?rev=48418&view=rev
Author: starseeker
Date: 2012-01-11 18:09:14 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
Don't do the PKC_ERROR cast - not correct.
Modified Paths:
--------------
brlcad/trunk/src/libpkg/pkg.c
Modified: brlcad/trunk/src/libpkg/pkg.c
===================================================================
--- brlcad/trunk/src/libpkg/pkg.c 2012-01-11 18:03:45 UTC (rev 48417)
+++ brlcad/trunk/src/libpkg/pkg.c 2012-01-11 18:09:14 UTC (rev 48418)
@@ -534,7 +534,8 @@
{
struct servent *sp;
int pkg_listenfd;
- if (service == NULL) return (int)PKC_ERROR;
+ if (service == NULL)
+ return -1;
#ifdef HAVE_WINSOCK_H
SOCKADDR_IN saServer;
WORD wVersionRequested; /* initialize Windows socket
networking, increment reference count */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits