[gupnp] Fix typo in previous commit.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Fix typo in previous commit.
- Date: Thu, 28 Feb 2013 14:35:41 +0000 (UTC)
commit 5765f462c4b6da4094a2291cce57f26fd5f37bdb
Author: Krzesimir Nowak <krnowak openismus com>
Date: Thu Feb 28 15:34:59 2013 +0100
Fix typo in previous commit.
We should check local_error, not error variable.
libgupnp/gupnp-service-proxy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index e6d58e1..74ea84b 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -1332,10 +1332,10 @@ gupnp_service_proxy_end_action_valist (GUPnPServiceProxy *proxy,
&local_error,
out_hash);
- if (error != NULL) {
- g_propagate_error (error, local_error);
- } else {
+ if (local_error == NULL) {
OUT_HASH_TABLE_TO_VAR_ARGS (out_hash, var_args_copy);
+ } else {
+ g_propagate_error (error, local_error);
}
va_end (var_args_copy);
g_hash_table_unref (out_hash);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]