Mercurial > pidgin.yaz
diff src/protocols/oscar/flap_connection.c @ 13610:060835af7634
[gaim-migrate @ 15996]
Remove an unused function, flap_connection_clone()
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 10 Apr 2006 03:57:58 +0000 |
parents | 5796551db930 |
children | 7f91efd5af77 |
line wrap: on
line diff
--- a/src/protocols/oscar/flap_connection.c Mon Apr 10 03:53:05 2006 +0000 +++ b/src/protocols/oscar/flap_connection.c Mon Apr 10 03:57:58 2006 +0000 @@ -129,34 +129,6 @@ } /** - * Clone a FlapConnection. - * - * A new connection is allocated, and the values are filled in - * appropriately. - * - * @param od The session containing this connection. - * @param src The connection to clone. - * @return Returns a pointer to the new FlapConnection, or %NULL on error. - */ -FlapConnection * -flap_connection_clone(OscarData *od, FlapConnection *src) -{ - FlapConnection *conn; - - conn = flap_connection_new(od, src->type); - conn->fd = src->fd; - conn->type = src->type; - conn->subtype = src->subtype; - conn->seqnum = src->seqnum; - conn->internal = src->internal; - conn->lastactivity = src->lastactivity; - - /* TODO: Clone groups and rates */ - - return conn; -} - -/** * Close (but not free) a connection. * * This leaves everything untouched except for setting the fd