Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup tabs and spaces #1256

Merged
merged 1 commit into from
Mar 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ int config_parse_conf(struct config *cfg, const struct conf *conf)
if (!conf_get(conf, "sip_trans_def", &tr))
cfg->sip.transp = sip_transp_decode(&tr);


/* Call */
(void)conf_get_u32(conf, "call_local_timeout",
&cfg->call.local_timeout);
Expand Down Expand Up @@ -577,7 +576,6 @@ static const char *default_avcodec_hwaccel(void)
#else
return "none";
#endif

}


Expand Down Expand Up @@ -875,7 +873,6 @@ int config_write_template(const char *file, const struct config *cfg)
(void)re_fprintf(f, "#module\t\t\t" "aufile" MOD_EXT "\n");
(void)re_fprintf(f, "#module\t\t\t" "ausine" MOD_EXT "\n");


(void)re_fprintf(f, "\n# Video codec Modules (in order)\n");
(void)re_fprintf(f, "#module\t\t\t" "avcodec" MOD_EXT "\n");
(void)re_fprintf(f, "#module\t\t\t" "vp8" MOD_EXT "\n");
Expand Down Expand Up @@ -1028,7 +1025,7 @@ int config_write_template(const char *file, const struct config *cfg)
"#menu_clean_number\tno\n"
"#sip_autoanswer_beep\tyes\n"
"#sip_autoanswer_method\trfc5373 "
"# {rfc5373,call-info,alert-info}\n"
"# {rfc5373,call-info,alert-info}\n"
"#ring_aufile\t\tring.wav\n"
"#callwaiting_aufile\tcallwaiting.wav\n"
"#ringback_aufile\tringback.wav\n"
Expand Down Expand Up @@ -1067,13 +1064,14 @@ int config_write_template(const char *file, const struct config *cfg)

(void)re_fprintf(f,
"\n# HTTP request module\n"
"# httpreq_ca\t\ttrusted1.pem\n"
"# httpreq_ca\t\ttrusted2.pem\n"
"# httpreq_dns\t\t1.1.1.1\n"
"# httpreq_dns\t\t8.8.8.8\n"
"# httpreq_hostname\tmyserver\n"
"# httpreq_cert\t\tcert.pem\n"
"# httpreq_key\t\tkey.pem\n");
"#httpreq_ca\t\ttrusted1.pem\n"
"#httpreq_ca\t\ttrusted2.pem\n"
"#httpreq_dns\t\t1.1.1.1\n"
"#httpreq_dns\t\t8.8.8.8\n"
"#httpreq_hostname\tmyserver\n"
"#httpreq_cert\t\tcert.pem\n"
"#httpreq_key\t\tkey.pem\n");

(void)re_fprintf(f,
"\n# multicast receivers (in priority order)"
"- port number must be even\n"
Expand Down