You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2013/12/19 04:16:13 UTC
svn commit: r1552218 -
/qpid/proton/trunk/proton-c/src/messenger/subscription.c
Author: rhs
Date: Thu Dec 19 03:16:12 2013
New Revision: 1552218
URL: http://svn.apache.org/r1552218
Log:
fixed braino in PROTON-439
Modified:
qpid/proton/trunk/proton-c/src/messenger/subscription.c
Modified: qpid/proton/trunk/proton-c/src/messenger/subscription.c
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/messenger/subscription.c?rev=1552218&r1=1552217&r2=1552218&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/messenger/subscription.c (original)
+++ qpid/proton/trunk/proton-c/src/messenger/subscription.c Thu Dec 19 03:16:12 2013
@@ -127,7 +127,9 @@ const char *pn_subscription_address(pn_s
assert(sub);
while (!pn_string_get(sub->address)) {
int err = pni_messenger_work(sub->messenger);
- if (err) return NULL;
+ if (err < 0) {
+ return NULL;
+ }
}
return pn_string_get(sub->address);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org