aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 23:02:35 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 23:02:35 +0100
commit3cacaa5dad355234cdc57148f4daf09931e6ea10 (patch)
treeda538e50582f8e26a0aa22f3ee72dee7ea095333 /src
parente89bd30db56c282c9c97d3d02c01155e7d8daa80 (diff)
downloadmpd-3cacaa5dad355234cdc57148f4daf09931e6ea10.tar.gz
mpd-3cacaa5dad355234cdc57148f4daf09931e6ea10.tar.xz
mpd-3cacaa5dad355234cdc57148f4daf09931e6ea10.zip
Client: initialize num_subscriptions
Diffstat (limited to 'src')
-rw-r--r--src/ClientNew.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ClientNew.cxx b/src/ClientNew.cxx
index 45148202b..d6409eb90 100644
--- a/src/ClientNew.cxx
+++ b/src/ClientNew.cxx
@@ -55,7 +55,8 @@ Client::Client(struct player_control *_player_control,
deferred_send(g_queue_new()), deferred_bytes(0),
num(_num),
send_buf_used(0),
- idle_waiting(false), idle_flags(0)
+ idle_waiting(false), idle_flags(0),
+ num_subscriptions(0)
{
assert(fd >= 0);