2012-01-06 10:07:28

by Divya Yadav

[permalink] [raw]
Subject: [PATCH obexd] MAP: Correction in coding style

Starting brace for a function should start on the next line.
---
plugins/messages-tracker.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/messages-tracker.c b/plugins/messages-tracker.c
index 8f9b30a..9c60f2c 100644
--- a/plugins/messages-tracker.c
+++ b/plugins/messages-tracker.c
@@ -237,7 +237,8 @@ int messages_set_folder(void *s, const char *name, gboolean cdup)
return 0;
}

-static gboolean async_get_folder_listing(void *s) {
+static gboolean async_get_folder_listing(void *s)
+{
struct session *session = s;
gboolean count = FALSE;
int folder_count = 0;
--
1.7.0.4



2012-01-09 13:07:22

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH obexd] MAP: Correction in coding style

Hi Divya,

On Fri, Jan 06, 2012, Divya Yadav wrote:
> Starting brace for a function should start on the next line.
> ---
> plugins/messages-tracker.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)

Applied. Thanks.

Johan