diff mbox series

common: Drop GLib use from gprs_proto_to_string

Message ID 1707770140-20746-1-git-send-email-ivo.g.dimitrov.75@gmail.com (mailing list archive)
State Accepted
Commit 1d7f24b5c15d4ff6fb73a0843121457c23b1eb4f
Headers show
Series common: Drop GLib use from gprs_proto_to_string | expand

Commit Message

Ivaylo Dimitrov Feb. 12, 2024, 8:35 p.m. UTC
there is one more g_str_equal usage(), fix that

Fixes 6f63dbbb ("common: Drop GLib use from gprs_auth_proto_to_string")
---
 src/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

patchwork-bot+ofono@kernel.org Feb. 13, 2024, 2:50 a.m. UTC | #1
Hello:

This patch was applied to ofono.git (master)
by Denis Kenzior <denkenz@gmail.com>:

On Mon, 12 Feb 2024 22:35:40 +0200 you wrote:
> there is one more g_str_equal usage(), fix that
> 
> Fixes 6f63dbbb ("common: Drop GLib use from gprs_auth_proto_to_string")
> ---
>  src/common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - common: Drop GLib use from gprs_proto_to_string
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=1d7f24b5c15d

You are awesome, thank you!
diff mbox series

Patch

diff --git a/src/common.c b/src/common.c
index abb151b6..859f1467 100644
--- a/src/common.c
+++ b/src/common.c
@@ -756,7 +756,7 @@  bool gprs_proto_from_string(const char *str, enum ofono_gprs_proto *proto)
 	} else if (l_streq0(str, "ipv6")) {
 		*proto = OFONO_GPRS_PROTO_IPV6;
 		return true;
-	} else if (g_str_equal(str, "dual")) {
+	} else if (l_streq0(str, "dual")) {
 		*proto = OFONO_GPRS_PROTO_IPV4V6;
 		return true;
 	}