All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix ampersand commands check
@ 2010-03-31  4:57 Andrzej Zaborowski
  2010-03-31 18:17 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Zaborowski @ 2010-03-31  4:57 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

Also remove a trailing tab.

---
 gatchat/gatserver.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c
index 031e542..839ebe4 100644
--- a/gatchat/gatserver.c
+++ b/gatchat/gatserver.c
@@ -570,9 +570,9 @@ static int get_basic_prefix_size(const char *buf)
 		/* All other cases it is a simple 1 character prefix */
 		return 1;
 	}
-	
+
 	if (buf[0] == '&') {
-		if (g_ascii_isalpha(buf[0] == FALSE))
+		if (g_ascii_isalpha(buf[1]) == FALSE)
 			return 0;
 
 		return 2;
-- 
1.6.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix ampersand commands check
  2010-03-31  4:57 [PATCH] Fix ampersand commands check Andrzej Zaborowski
@ 2010-03-31 18:17 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2010-03-31 18:17 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Hi Andrew,

> Also remove a trailing tab.
> 
> ---
>  gatchat/gatserver.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 

Patch has been applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-31 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31  4:57 [PATCH] Fix ampersand commands check Andrzej Zaborowski
2010-03-31 18:17 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.