[libepc] Rename a shadowed variable.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libepc] Rename a shadowed variable.
- Date: Wed, 28 Oct 2015 11:43:34 +0000 (UTC)
commit 6448479adda3e4c9a4d28b0b7ec03cbd8691773b
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Oct 28 11:56:35 2015 +0100
Rename a shadowed variable.
libepc/publisher.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libepc/publisher.c b/libepc/publisher.c
index c7bc884..2e5c6c7 100644
--- a/libepc/publisher.c
+++ b/libepc/publisher.c
@@ -524,16 +524,16 @@ epc_publisher_handle_contents (SoupServer *server,
if (contents)
{
- gconstpointer data;
+ gconstpointer contents_data;
const gchar *type;
gsize length = 0;
- data = epc_contents_get_data (contents, &length);
+ contents_data = epc_contents_get_data (contents, &length);
type = epc_contents_get_mime_type (contents);
- if (data)
+ if (contents_data)
{
- soup_message_set_response (message, type, SOUP_MEMORY_COPY, (gpointer) data, length);
+ soup_message_set_response (message, type, SOUP_MEMORY_COPY, (gpointer) contents_data, length);
soup_message_set_status (message, SOUP_STATUS_OK);
}
else if (epc_contents_is_stream (contents))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]