summaryrefslogtreecommitdiffstats
path: root/server/smartcard.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-02-09 21:44:45 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-02-28 16:36:35 +0100
commit76dc27f08a15bd2cb0e0f536972e361e6d7acc25 (patch)
treed44181ebb3408f1573b9e782e2f23d5704d1518a /server/smartcard.c
parent1a4923c2107c89314714718ca1431d232cc23edf (diff)
downloadspice-76dc27f08a15bd2cb0e0f536972e361e6d7acc25.tar.gz
spice-76dc27f08a15bd2cb0e0f536972e361e6d7acc25.tar.xz
spice-76dc27f08a15bd2cb0e0f536972e361e6d7acc25.zip
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
Diffstat (limited to 'server/smartcard.c')
-rw-r--r--server/smartcard.c4
1 files changed, 2 insertions, 2 deletions
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,