silcd: handle empty LIST command reply
authorPekka Riikonen <priikone@silcnet.org>
Tue, 6 May 2014 15:22:47 +0000 (18:22 +0300)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 6 May 2014 15:22:47 +0000 (18:22 +0300)
commit4b60068a4335802516a283baab8faf9c0715234a
tree9fb10a6d25f5169b5e4b81eb3bbb29f6c49f4cd2
parentb953803ae59ea3e66e3ed799b90dbb66a9002fce
silcd: handle empty LIST command reply

If server has only secret channels the server never sends the LIST command
reply back at all.  Check the number of channels to return after taking
the secret channels out.
apps/silcd/command.c