summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-09-27 23:22:43 +0300
committerAlon Levy <alevy@redhat.com>2011-09-27 23:23:40 +0300
commit40640a3f30bd6ab6978601f08835235ba9029f86 (patch)
tree6247e8ea6b55165c905f6a160b305cb8c6cba22b
parent4a26fa01cdd1c341d5f0cca08655c9c08064b987 (diff)
downloadspice-40640a3f30bd6ab6978601f08835235ba9029f86.tar.gz
spice-40640a3f30bd6ab6978601f08835235ba9029f86.tar.xz
spice-40640a3f30bd6ab6978601f08835235ba9029f86.zip
server/smartcard: error packet sending. RHBZ 741259
fix wrongly applied master patch. With this it is identical to the change in master commit b37182426923124470bf3701f4cff2a6bb345b8d
-rw-r--r--server/smartcard.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/smartcard.c b/server/smartcard.c
index 89194003..58c58c68 100644
--- a/server/smartcard.c
+++ b/server/smartcard.c
@@ -292,9 +292,7 @@ static void smartcard_channel_send_error(
SmartCardChannel *smartcard_channel, PipeItem *item)
{
ErrorItem* error_item = (ErrorItem*)item;
- VSCMsgError error;
- error.code = error_item->error;
smartcard_channel_send_data(&smartcard_channel->base, item, &error_item->vheader);
}