Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1fbd7b2 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: setupInetServer assignedPort optional

Default null for readability of client code, where when specifying
a specific port, 'assignedPort' doesn't make sense.

Fixes: 226506198
Test: binderRpcTest
Change-Id: Ib1c3afd5284b5bdb3579047342045d5b8b7a0141
parent ebfcecb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public:
     * have
     */
    [[nodiscard]] status_t setupInetServer(const char* address, unsigned int port,
                                           unsigned int* assignedPort);
                                           unsigned int* assignedPort = nullptr);

    /**
     * If setup*Server has been successful, return true. Otherwise return false.