From: Richard Mudgett Date: Fri, 23 Jan 2015 19:34:55 +0000 (+0000) Subject: app_confbridge: Whitespace X-Git-Tag: 11.16.0-rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=045557ad1b1d23a775eaa155eeca8fbb8b6e334f;p=thirdparty%2Fasterisk.git app_confbridge: Whitespace Because there is sometimes no sence to any whitespace. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@431049 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index 2fa7904e10..3ffad3934d 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -418,10 +418,11 @@ static struct ast_channel *rec_request(const char *type, struct ast_format_cap * static void set_rec_filename(struct conference_bridge *bridge, struct ast_str **filename, int is_new) { char *rec_file = bridge->b_profile.rec_file; - time_t now; char *ext; + time_t now; - if (ast_str_strlen(*filename) && !is_new) { + if (ast_str_strlen(*filename) + && !is_new) { return; } @@ -429,15 +430,16 @@ static void set_rec_filename(struct conference_bridge *bridge, struct ast_str ** ast_str_reset(*filename); if (ast_strlen_zero(rec_file)) { - ast_str_set(filename, 0, "confbridge-%s-%u.wav", bridge->name, (unsigned int)now); + ast_str_set(filename, 0, "confbridge-%s-%u.wav", bridge->name, + (unsigned int) now); } else { /* insert time before file extension */ ext = strrchr(rec_file, '.'); if (ext) { ast_str_set_substr(filename, 0, rec_file, ext - rec_file); - ast_str_append(filename, 0, "-%u%s", (unsigned int)now, ext); + ast_str_append(filename, 0, "-%u%s", (unsigned int) now, ext); } else { - ast_str_set(filename, 0, "%s-%u", rec_file, (unsigned int)now); + ast_str_set(filename, 0, "%s-%u", rec_file, (unsigned int) now); } } ast_str_append(filename, 0, ",a");