* @param forb
* @param server_id
*
- * @return The found peer or NULL if no peer is found. You have to
- * call forb_peer_put() after you finish working with the non NULL
- * retuned value.
+ * @return The found peer or NULL if no peer is found. forb_peer_put()
+ * has to be called on the non-NULL returned value after is not
+ * needed.
*/
forb_peer_t *
forb_peer_find(forb_t *forb, forb_server_id *server_id)
{
forb_peer_delete(peer->port->forb, peer);
forb_port_peer_delete(peer->port, peer);
- forb_peer_put(peer); /* This should release the peer and in case on proto_inet close the socker. */
+
+ /* This should release the peer and in case on proto_inet
+ * close the socket. */
+ forb_peer_put(peer);
}