[PATCH] mbm: minor coding style fixes
Aleksander Morgado
aleksander at aleksander.es
Tue May 20 00:35:04 PDT 2014
On 20/05/14 08:45, Ben Chan wrote:
> ---
> plugins/mbm/mm-broadband-bearer-mbm.c | 4 ++--
> plugins/mbm/mm-broadband-modem-mbm.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
Pushed, thanks.
> diff --git a/plugins/mbm/mm-broadband-bearer-mbm.c b/plugins/mbm/mm-broadband-bearer-mbm.c
> index 0509f1a..72e53ac 100644
> --- a/plugins/mbm/mm-broadband-bearer-mbm.c
> +++ b/plugins/mbm/mm-broadband-bearer-mbm.c
> @@ -401,7 +401,7 @@ authenticate (Dial3gppContext *ctx)
> encoded_password = mm_broadband_modem_take_and_convert_to_current_charset (MM_BROADBAND_MODEM (ctx->modem),
> g_strdup (password));
>
> - command = g_strdup_printf ("AT*EIAAUW=%d,1,\"%s\",\"%s\"",
> + command = g_strdup_printf ("AT*EIAAUW=%d,1,\"%s\",\"%s\"",
> ctx->cid,
> encoded_user ? encoded_user : "",
> encoded_password ? encoded_password : "");
> @@ -590,7 +590,7 @@ static void
> mm_broadband_bearer_mbm_init (MMBroadbandBearerMbm *self)
> {
> /* Initialize private data */
> - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self),
> + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
> MM_TYPE_BROADBAND_BEARER_MBM,
> MMBroadbandBearerMbmPrivate);
> }
> diff --git a/plugins/mbm/mm-broadband-modem-mbm.c b/plugins/mbm/mm-broadband-modem-mbm.c
> index 623c08d..1d15e59 100644
> --- a/plugins/mbm/mm-broadband-modem-mbm.c
> +++ b/plugins/mbm/mm-broadband-modem-mbm.c
> @@ -1268,7 +1268,7 @@ static void
> mm_broadband_modem_mbm_init (MMBroadbandModemMbm *self)
> {
> /* Initialize private data */
> - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self),
> + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
> MM_TYPE_BROADBAND_MODEM_MBM,
> MMBroadbandModemMbmPrivate);
>
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list