[tracker/wip/carlosg/serialize-api: 25/26] libtracker-sparql: Fix typo
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/serialize-api: 25/26] libtracker-sparql: Fix typo
- Date: Sun, 19 Dec 2021 10:35:02 +0000 (UTC)
commit 28206dbab92668b40d9bbf02f4fa8d73aa8ba92c
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]