Skip to content

Commit

Permalink
Coding style improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Sep 8, 2016
1 parent 5a9706a commit ec9dae7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gammu/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ void GetUSSD(int argc UNUSED, char *argv[])

GSM_SetIncomingUSSDCallback(gsm, IncomingUSSD2, NULL);

error=GSM_SetIncomingUSSD(gsm,TRUE);
error = GSM_SetIncomingUSSD(gsm, TRUE);
Print_Error(error);

num_replies = 0;

error=GSM_DialService(gsm, argv[2]);
error = GSM_DialService(gsm, argv[2]);
/* Fallback to voice call, it can work with some phones */
if (error == ERR_NOTIMPLEMENTED || error == ERR_NOTSUPPORTED) {
error=GSM_DialVoice(gsm, argv[2], GSM_CALL_DefaultNumberPresence);
error = GSM_DialVoice(gsm, argv[2], GSM_CALL_DefaultNumberPresence);
}
Print_Error(error);

Expand All @@ -164,7 +164,7 @@ void GetUSSD(int argc UNUSED, char *argv[])
GSM_ReadDevice(gsm, FALSE);
}

error=GSM_SetIncomingUSSD(gsm, FALSE);
error = GSM_SetIncomingUSSD(gsm, FALSE);
Print_Error(error);

GSM_Terminate();
Expand Down

0 comments on commit ec9dae7

Please sign in to comment.