summaryrefslogtreecommitdiffstats
path: root/server/spicevmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/spicevmc.c')
-rw-r--r--server/spicevmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/spicevmc.c b/server/spicevmc.c
index 30aaf2f4..ea9271c7 100644
--- a/server/spicevmc.c
+++ b/server/spicevmc.c
@@ -255,8 +255,8 @@ void spicevmc_device_connect(SpiceCharDeviceInstance *sin,
{
static uint8_t id[256] = { 0, };
SpiceVmcState *state;
- ChannelCbs channel_cbs = {0,};
- ClientCbs client_cbs = {0,};
+ ChannelCbs channel_cbs = { NULL, };
+ ClientCbs client_cbs = { NULL, };
channel_cbs.config_socket = spicevmc_red_channel_client_config_socket;
channel_cbs.on_disconnect = spicevmc_red_channel_client_on_disconnect;