Linux bluetooth development
 help / color / mirror / Atom feed
From: Jaganath Kanakkassery <jaganath.k@samsung.com>
To: linux-bluetooth@vger.kernel.org
Cc: Jaganath Kanakkassery <jaganath.k@samsung.com>
Subject: [PATCH BlueZ] gdbus: Fix compilation error if macro "error" is defined
Date: Fri, 27 Jul 2012 13:14:13 +0530	[thread overview]
Message-ID: <1343375053-19193-2-git-send-email-jaganath.k@samsung.com> (raw)
In-Reply-To: <1343375053-19193-1-git-send-email-jaganath.k@samsung.com>

The variable "signature" used in error is not defined.
---
 gdbus/object.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gdbus/object.c b/gdbus/object.c
index 900e7ab..0f05234 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -645,8 +645,7 @@ static dbus_bool_t emit_signal_valist(DBusConnection *conn,
 		goto fail;
 
 	if (g_dbus_args_have_signature(args, signal) == FALSE) {
-		error("%s.%s: expected signature'%s' but got '%s'",
-				interface, name, args, signature);
+		error("signature does not match");
 		ret = FALSE;
 		goto fail;
 	}
-- 
1.7.1


  reply	other threads:[~2012-07-27  7:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-27  7:44 [PATCH BlueZ] audio: Remove redundant variable gerr Jaganath Kanakkassery
2012-07-27  7:44 ` Jaganath Kanakkassery [this message]
2012-07-27 12:25   ` [PATCH BlueZ] gdbus: Fix compilation error if macro "error" is defined Lucas De Marchi
2012-07-27 12:58     ` Luiz Augusto von Dentz
2012-08-01 10:17     ` Jaganath Kanakkassery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343375053-19193-2-git-send-email-jaganath.k@samsung.com \
    --to=jaganath.k@samsung.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox