[tracker/wip/carlosg/serialize-api: 20/36] libtracker-sparql: Fix typo
- From: Carlos Garnacho <carlosg src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [tracker/wip/carlosg/serialize-api: 20/36] libtracker-sparql: Fix typo
 
- Date: Fri,  4 Feb 2022 18:24:10 +0000 (UTC)
 
commit 3387e7659c6cde5efb781612f07f5b6cf9fbf0ef
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Nov 28 13:49:41 2021 +0100
    libtracker-sparql: Fix typo
    
    We are not creating a char array, but an array of pointers to char.
    This is harmless, but we were getting 8x the size on 64-bit arches,
    and we don't need that much.
 src/libtracker-sparql/tracker-endpoint-http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-sparql/tracker-endpoint-http.c b/src/libtracker-sparql/tracker-endpoint-http.c
index 2f1282004..03a7eb4ea 100644
--- a/src/libtracker-sparql/tracker-endpoint-http.c
+++ b/src/libtracker-sparql/tracker-endpoint-http.c
@@ -108,7 +108,7 @@ handle_request_in_thread (GTask        *task,
                           GCancellable *cancellable)
 {
        Request *request = task_data;
-       gchar *buffer[1000];
+       gchar buffer[1000];
        SoupMessageBody *message_body;
        GError *error = NULL;
        gssize count;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]