diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-02-09 21:44:45 +0100 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-21 15:09:26 +0300 |
commit | 26ded5e3950b2c9c552a3fc89647203e63b02411 (patch) | |
tree | fed7a072edabc3072fdef68a2f7379e1bc0dfeab /server/smartcard.c | |
parent | 5f27f8f522121556c515e4c37227f3853c3c7472 (diff) | |
download | spice-26ded5e3950b2c9c552a3fc89647203e63b02411.tar.gz spice-26ded5e3950b2c9c552a3fc89647203e63b02411.tar.xz spice-26ded5e3950b2c9c552a3fc89647203e63b02411.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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/smartcard.c b/server/smartcard.c index ba283364..852110bd 100644 --- a/server/smartcard.c +++ b/server/smartcard.c @@ -465,7 +465,7 @@ static int smartcard_channel_handle_message(RedChannel *channel, SpiceDataHeader return TRUE; } -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) @@ -475,7 +475,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, |