[tracker/wip/carlosg/serialize-api: 52/53] libtracker-sparql: Fix typo
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/serialize-api: 52/53] libtracker-sparql: Fix typo
- Date: Mon, 13 Dec 2021 01:10:26 +0000 (UTC)
commit cfa20b7eb899a325c087f4166a3f0e0406608a42
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]