You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.2 KiB
41 lines
1.2 KiB
12 years ago
|
From 4be173d6a63b41326b341c3228b2c1074359c511 Mon Sep 17 00:00:00 2001
|
||
|
From: "Darryl L. Pierce" <mcpierce@gmail.com>
|
||
|
Date: Mon, 8 Apr 2013 17:06:22 -0400
|
||
|
Subject: [PATCH 1/3] NO-JIRA: Fixed RHEL5 build errors.
|
||
|
|
||
|
Set a value for err in pn_data_appendn().
|
||
|
---
|
||
|
proton-c/bindings/python/proton.py | 2 +-
|
||
|
proton-c/src/codec/codec.c | 2 +-
|
||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/proton-c/bindings/python/proton.py b/proton-c/bindings/python/proton.py
|
||
|
index d76f931..492b015 100644
|
||
|
--- a/proton-c/bindings/python/proton.py
|
||
|
+++ b/proton-c/bindings/python/proton.py
|
||
|
@@ -30,7 +30,7 @@ The proton APIs consist of the following classes:
|
||
|
|
||
|
"""
|
||
|
|
||
|
-from cproton import *
|
||
|
+from _cproton import *
|
||
|
try:
|
||
|
import uuid
|
||
|
except ImportError:
|
||
|
diff --git a/proton-c/src/codec/codec.c b/proton-c/src/codec/codec.c
|
||
|
index c76c9dd..51dfe85 100644
|
||
|
--- a/proton-c/src/codec/codec.c
|
||
|
+++ b/proton-c/src/codec/codec.c
|
||
|
@@ -2970,7 +2970,7 @@ int pn_data_append(pn_data_t *data, pn_data_t *src)
|
||
|
|
||
|
int pn_data_appendn(pn_data_t *data, pn_data_t *src, int limit)
|
||
|
{
|
||
|
- int err;
|
||
|
+ int err = 0;
|
||
|
int level = 0, count = 0;
|
||
|
bool stop = false;
|
||
|
pn_point_t point = pn_data_point(src);
|
||
|
--
|
||
|
1.8.3.1
|
||
|
|