* Minor cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30940 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-06-01 20:44:59 +00:00
parent 2e750f8bc8
commit e9c7d49aa0
+3 -1
View File
@@ -181,7 +181,8 @@ Services::Services(const BMessage& services)
_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 @@ Services::_ToService(const BMessage& message, struct service*& service)
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;
}