[PATCH] icera: minor coding style fixes
Ben Chan
benchan at chromium.org
Mon May 19 23:45:35 PDT 2014
---
plugins/icera/mm-broadband-bearer-icera.c | 4 ++--
plugins/icera/mm-broadband-modem-icera.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/icera/mm-broadband-bearer-icera.c b/plugins/icera/mm-broadband-bearer-icera.c
index ad7ca06..82b9a58 100644
--- a/plugins/icera/mm-broadband-bearer-icera.c
+++ b/plugins/icera/mm-broadband-bearer-icera.c
@@ -930,7 +930,7 @@ authenticate (Dial3gppContext *ctx)
/* Both user and password are required; otherwise firmware returns an error */
if (!user || !password || allowed_auth == MM_BEARER_ALLOWED_AUTH_NONE) {
mm_dbg ("Not using authentication");
- command = g_strdup_printf ("%%IPDPCFG=%d,0,0,\"\",\"\"", ctx->cid);
+ command = g_strdup_printf ("%%IPDPCFG=%d,0,0,\"\",\"\"", ctx->cid);
} else {
gchar *quoted_user;
gchar *quoted_password;
@@ -1135,7 +1135,7 @@ static void
mm_broadband_bearer_icera_init (MMBroadbandBearerIcera *self)
{
/* Initialize private data */
- self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self),
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
MM_TYPE_BROADBAND_BEARER_ICERA,
MMBroadbandBearerIceraPrivate);
diff --git a/plugins/icera/mm-broadband-modem-icera.c b/plugins/icera/mm-broadband-modem-icera.c
index e16eb18..52f8922 100644
--- a/plugins/icera/mm-broadband-modem-icera.c
+++ b/plugins/icera/mm-broadband-modem-icera.c
@@ -1895,7 +1895,7 @@ static void
mm_broadband_modem_icera_init (MMBroadbandModemIcera *self)
{
/* Initialize private data */
- self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self),
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
MM_TYPE_BROADBAND_MODEM_ICERA,
MMBroadbandModemIceraPrivate);
--
1.9.1.423.g4596e3a
More information about the ModemManager-devel
mailing list