[gnome-software] trivial: Fix some more ODRS debug strings



commit e12a77523307d4e7618fcd9dac16a27177b99830
Author: Richard Hughes <richard hughsie com>
Date:   Thu Mar 24 09:39:33 2016 +0000

    trivial: Fix some more ODRS debug strings

 src/plugins/gs-plugin-odrs.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/gs-plugin-odrs.c b/src/plugins/gs-plugin-odrs.c
index d88fd1e..a431a0b 100644
--- a/src/plugins/gs-plugin-odrs.c
+++ b/src/plugins/gs-plugin-odrs.c
@@ -319,7 +319,7 @@ gs_plugin_odrs_json_post (SoupSession *session,
        g_autoptr(SoupMessage) msg = NULL;
 
        /* create the GET data */
-       g_debug ("xdg-app-review sending: %s", data);
+       g_debug ("odrs sending: %s", data);
        msg = soup_message_new (SOUP_METHOD_POST, uri);
        soup_message_set_request (msg, "application/json",
                                  SOUP_MEMORY_COPY, data, strlen (data));
@@ -327,12 +327,12 @@ gs_plugin_odrs_json_post (SoupSession *session,
        /* set sync request */
        status_code = soup_session_send_message (session, msg);
        if (status_code != SOUP_STATUS_OK) {
-               g_warning ("Failed to set rating on xdg-app-review: %s",
+               g_warning ("Failed to set rating on odrs: %s",
                           soup_status_get_phrase (status_code));
        }
 
        /* process returned JSON */
-       g_debug ("xdg-app-review returned: %s", msg->response_body->data);
+       g_debug ("odrs returned: %s", msg->response_body->data);
        return gs_plugin_odrs_parse_success (msg->response_body->data,
                                             msg->response_body->length,
                                             error);
@@ -450,7 +450,7 @@ gs_plugin_odrs_get_ratings (GsPlugin *plugin, GsApp *app, GError **error)
                                     "status code invalid");
                return NULL;
        }
-       g_debug ("xdg-app-review returned: %s", msg->response_body->data);
+       g_debug ("odrs returned: %s", msg->response_body->data);
        ratings = gs_plugin_odrs_parse_ratings (msg->response_body->data,
                                                msg->response_body->length,
                                                error);
@@ -593,7 +593,7 @@ gs_plugin_odrs_fetch_for_app (GsPlugin *plugin, GsApp *app, GError **error)
                                                error);
        if (reviews == NULL)
                return NULL;
-       g_debug ("xdg-app-review returned: %s", msg->response_body->data);
+       g_debug ("odrs returned: %s", msg->response_body->data);
 
        /* save to the cache */
        if (!g_file_set_contents (cachefn,
@@ -978,7 +978,7 @@ gs_plugin_add_unvoted_reviews (GsPlugin *plugin,
                                     "status code invalid");
                return FALSE;
        }
-       g_debug ("xdg-app-review returned: %s", msg->response_body->data);
+       g_debug ("odrs returned: %s", msg->response_body->data);
        reviews = gs_plugin_odrs_parse_reviews (msg->response_body->data,
                                                msg->response_body->length,
                                                error);


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