From 76dc27f08a15bd2cb0e0f536972e361e6d7acc25 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Wed, 9 Feb 2011 21:44:45 +0100 Subject: server: rename s/peer/stream This is stylish change again. We are talking about a RedStream object, so let's just name the variable "stream" everywhere, to avoid confusion with a non existent RedPeer object. https://bugs.freedesktop.org/show_bug.cgi?id=34795 --- server/smartcard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/smartcard.c') diff --git a/server/smartcard.c b/server/smartcard.c index 23b3779f..d890372c 100644 --- a/server/smartcard.c +++ b/server/smartcard.c @@ -469,7 +469,7 @@ static void smartcard_channel_hold_pipe_item(PipeItem *item) { } -static void smartcard_link(Channel *channel, RedsStream *peer, +static void smartcard_link(Channel *channel, RedsStream *stream, int migration, int num_common_caps, uint32_t *common_caps, int num_caps, uint32_t *caps) @@ -479,7 +479,7 @@ static void smartcard_link(Channel *channel, RedsStream *peer, } g_smartcard_channel = (SmartCardChannel *)red_channel_create(sizeof(*g_smartcard_channel), - peer, core, + stream, core, migration, FALSE /* handle_acks */, smartcard_channel_config_socket, smartcard_channel_disconnect, -- cgit