[haiku-commits] Re: haiku: hrev45434 - src/kits/app src/servers/net src/libs/compat/freebsd_wlan/net80211 headers/os/app

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 02 Apr 2013 12:50:13 +0200

Am 02/04/2013 11:11, schrieb Stephan Aßmus:
+    if (!messenger.IsValid()) {
+        // Try to start the keystore server.
+        status_t result = be_roster->Launch(kKeyStoreServerSignature);
+        if (result != B_OK && result != B_ALREADY_RUNNING)
+            return B_ERROR;

Also, since we do have a decent error code here, it should be returned, not hidden.

Bye,
   Axel.

Other related posts: