[jsonrpc-glib] inputstream: remove impossible comparison
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jsonrpc-glib] inputstream: remove impossible comparison
- Date: Mon, 4 Sep 2017 23:50:16 +0000 (UTC)
commit ffc4c858aa3e8a6608958e8ac6f50f199c0cd499
Author: Christian Hergert <chergert redhat com>
Date: Mon Sep 4 16:49:32 2017 -0700
inputstream: remove impossible comparison
src/jsonrpc-input-stream.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/jsonrpc-input-stream.c b/src/jsonrpc-input-stream.c
index 6649bd1..c37416c 100644
--- a/src/jsonrpc-input-stream.c
+++ b/src/jsonrpc-input-stream.c
@@ -189,7 +189,7 @@ jsonrpc_input_stream_read_headers_cb (GObject *object,
if (((content_length == G_MININT64 || content_length == G_MAXINT64) && errno == ERANGE) ||
(content_length < 0) ||
- (content_length > G_MAXSSIZE) ||
+ (content_length == G_MAXSSIZE) ||
(content_length > priv->max_size_bytes))
{
g_task_return_new_error (task,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]