[Haiku-commits] r30940 - haiku/trunk/src/servers/net

axeld at BerliOS axeld at mail.berlios.de
Mon Jun 1 22:44:59 CEST 2009


Author: axeld
Date: 2009-06-01 22:44:59 +0200 (Mon, 01 Jun 2009)
New Revision: 30940
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=30940&view=rev

Modified:
   haiku/trunk/src/servers/net/Services.cpp
Log:
* Minor cleanup.


Modified: haiku/trunk/src/servers/net/Services.cpp
===================================================================
--- haiku/trunk/src/servers/net/Services.cpp	2009-06-01 20:21:55 UTC (rev 30939)
+++ haiku/trunk/src/servers/net/Services.cpp	2009-06-01 20:44:59 UTC (rev 30940)
@@ -181,7 +181,8 @@
 
 	_Update(services);
 
-	fListener = spawn_thread(_Listener, "services listener", B_NORMAL_PRIORITY, this);
+	fListener = spawn_thread(_Listener, "services listener", B_NORMAL_PRIORITY,
+		this);
 	if (fListener >= B_OK)
 		resume_thread(fListener);
 }
@@ -419,6 +420,7 @@
 
 	if (i == 0 && (serviceFamily < 0 || servicePort < 0)) {
 		// no address specified
+		printf("service %s has no address specified\n", name);
 		delete service;
 		return B_BAD_VALUE;
 	}
@@ -512,7 +514,7 @@
 		close(socket);
 
 		// build argument array
-		
+
 		const char** args = (const char**)malloc(2 * sizeof(void *));
 		if (args == NULL)
 			exit(1);




More information about the Haiku-commits mailing list