removed unnecessary pad_crypto_def variable

pull/658/head
Muhammad Zaka 7 years ago
parent 5c7b7c0ced
commit 4187cd3b2d

@ -36,7 +36,6 @@ static pcre_extra *streams_ree;
int trust_address_def;
int dtls_passive_def;
int pad_crypto_def;
static int call_stream_address_gstring(GString *o, struct packet_stream *ps, enum stream_address_format format) {
int len, ret;
@ -656,7 +655,6 @@ static void call_ng_process_flags(struct sdp_ng_flags *out, bencode_item_t *inpu
out->trust_address = trust_address_def;
out->dtls_passive = dtls_passive_def;
out->pad_crypto = pad_crypto_def;
call_ng_flags_list(out, input, "flags", call_ng_flags_flags, NULL);
call_ng_flags_list(out, input, "replace", call_ng_flags_replace, NULL);

@ -513,7 +513,6 @@ static void options(int *argc, char ***argv) {
if (!sip_source)
trust_address_def = 1;
pad_crypto_def = 0;
rtpe_config.cpu_limit = max_cpu * 100;
rtpe_config.load_limit = max_load * 100;
}

@ -76,7 +76,6 @@ struct sdp_ng_flags {
extern int trust_address_def;
extern int dtls_passive_def;
extern int pad_crypto_def;
str *call_request_tcp(char **);
str *call_lookup_tcp(char **);

Loading…
Cancel
Save