Commit e1c4b5d4 authored by Julian Sparber's avatar Julian Sparber

[fix] fix some code style

parent 21e6f133
......@@ -58,7 +58,7 @@ teleport_peer_init (TeleportPeer *self)
self->list = g_array_new (FALSE, FALSE, sizeof(Peer *));
}
gchar * teleport_peer_get_name (TeleportPeer *self, gint index, GError **error)
gchar *teleport_peer_get_name (TeleportPeer *self, gint index, GError **error)
{
Peer *element;
//g_return_if_fail (TELEPORT_IS_PEER (self));
......@@ -69,7 +69,7 @@ gchar * teleport_peer_get_name (TeleportPeer *self, gint index, GError **error)
return element->name;
}
gchar * teleport_peer_get_ip (TeleportPeer *self, gint index, GError **error)
gchar *teleport_peer_get_ip (TeleportPeer *self, gint index, GError **error)
{
//g_return_if_fail (TELEPORT_IS_PEER (self));
//g_return_if_fail (error == NULL || *error == NULL);
......@@ -86,7 +86,7 @@ gint teleport_peer_get_port (TeleportPeer *self, gint index, GError **error)
return element->port;
}
void teleport_peer_add_peer (TeleportPeer *self, gchar * name, gchar * ip, gint port)
void teleport_peer_add_peer (TeleportPeer *self, gchar *name, gchar *ip, gint port)
{
Peer *new = g_new(Peer, 1);
new->ip = ip;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment