app_voicemail, say: Fix various leading whitespace problems

In af90afd90c, Japanese language support
was added to app_voicemail and main/say.c, but the leading whitespace
is not consistent with Asterisk coding guidelines. This patch fixes
that.

Whitespace only, no functional change.

ASTERISK~23324
Reported by: Kevin McCoy

Change-Id: I72c725f5930084673749bd7c9cc426a987f08e87
17.2
Sean Bright 5 years ago
parent 8cad8db7d3
commit cb6f106d76

@ -10667,7 +10667,6 @@ static int vm_instructions(struct ast_channel *chan, struct ast_vm_user *vmu, st
} }
} }
static int vm_newuser_setup(struct ast_channel *chan, struct ast_vm_user *vmu, struct vm_state *vms, char *fmtc, signed char record_gain) static int vm_newuser_setup(struct ast_channel *chan, struct ast_vm_user *vmu, struct vm_state *vms, char *fmtc, signed char record_gain)
{ {
int cmd = 0; int cmd = 0;

@ -7916,6 +7916,7 @@ static int ast_say_number_full_ja(struct ast_channel *chan, int num, const char
int res = 0; int res = 0;
int playh = 0; int playh = 0;
char fn[256] = ""; char fn[256] = "";
if (!num) if (!num)
return ast_say_digits_full(chan, 0, ints, language, audiofd, ctrlfd); return ast_say_digits_full(chan, 0, ints, language, audiofd, ctrlfd);
@ -8027,7 +8028,9 @@ int ast_say_date_ja(struct ast_channel *chan, time_t t, const char *ints, const
struct timeval tv = { t, 0 }; struct timeval tv = { t, 0 };
char fn[256]; char fn[256];
int res = 0; int res = 0;
ast_localtime(&tv, &tm, NULL); ast_localtime(&tv, &tm, NULL);
if (!res) if (!res)
res = ast_say_number(chan, tm.tm_year + 1900, ints, lang, (char *) NULL); res = ast_say_number(chan, tm.tm_year + 1900, ints, lang, (char *) NULL);
if (!res) if (!res)
@ -8113,7 +8116,6 @@ static int ast_say_time_gr(struct ast_channel *chan, time_t t, const char *ints,
/* Japanese */ /* Japanese */
static int ast_say_time_ja(struct ast_channel *chan, time_t t, const char *ints, const char *lang) static int ast_say_time_ja(struct ast_channel *chan, time_t t, const char *ints, const char *lang)
{ {
struct timeval tv = { t, 0 }; struct timeval tv = { t, 0 };
struct ast_tm tm; struct ast_tm tm;
int res = 0; int res = 0;

Loading…
Cancel
Save