[gupnp-tools/wip/search] av-cp: Fix debug output for unknown total count
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-tools/wip/search] av-cp: Fix debug output for unknown total count
- Date: Fri, 19 Aug 2016 03:53:40 +0000 (UTC)
commit 31936ebc1ab9c38b8ebfd57ad53839e0553b8187
Author: Jens Georg <mail jensge org>
Date: Thu Aug 18 20:17:50 2016 +0200
av-cp: Fix debug output for unknown total count
Signed-off-by: Jens Georg <mail jensge org>
src/av-cp/search-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/av-cp/search-dialog.c b/src/av-cp/search-dialog.c
index 301dc0a..6ee63dc 100644
--- a/src/av-cp/search-dialog.c
+++ b/src/av-cp/search-dialog.c
@@ -230,7 +230,7 @@ out:
g_debug ("Starting new slice %u/%u (total %u)",
task->start,
task->count,
- task->total);
+ task->total == -1 ? 0 : task->total);
av_cp_media_server_search_async (task->server,
task->cancellable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]