[gnome-software] trivial: Include the max-results value in the debug output



commit 24f8a214ed3fe34f15ebb2f93a3fb97e496d6374
Author: Richard Hughes <richard hughsie com>
Date:   Wed Aug 30 15:38:19 2017 +0100

    trivial: Include the max-results value in the debug output

 lib/gs-plugin-job.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/gs-plugin-job.c b/lib/gs-plugin-job.c
index b862412..341d5c0 100644
--- a/lib/gs-plugin-job.c
+++ b/lib/gs-plugin-job.c
@@ -89,6 +89,8 @@ gs_plugin_job_to_string (GsPluginJob *self)
        }
        if (self->timeout > 0)
                g_string_append_printf (str, " with timeout=%u", self->timeout);
+       if (self->max_results > 0)
+               g_string_append_printf (str, " with max-results=%u", self->max_results);
        if (self->age != 0) {
                if (self->age == G_MAXUINT) {
                        g_string_append (str, " with cache age=any");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]