mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-21 18:54:14 +00:00
fold version macros into runtime functions to avoid cascade rebuilds when modifying the core
This commit is contained in:
1 parent
104ce2a35f
commit
8dfbd91a3d
22 files changed
+157
-39
No files matched your search
+1
-2
@@ -51,7 +51,6 @@
|
||||
#include <datatypes.h>
|
||||
#include <srtp.h>
|
||||
#include <srtp_priv.h>
|
||||
#include <switch_version.h>
|
||||
#include <switch_ssl.h>
|
||||
|
||||
#define FIR_COUNTDOWN 50
|
||||
@@ -757,7 +756,7 @@ static switch_status_t ice_out(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice)
|
||||
|
||||
switch_stun_packet_attribute_add_priority(packet, ice->ice_params->cands[ice->ice_params->chosen[ice->proto]][ice->proto].priority);
|
||||
|
||||
switch_snprintf(sw, sizeof(sw), "FreeSWITCH (%s)", SWITCH_VERSION_REVISION_HUMAN);
|
||||
switch_snprintf(sw, sizeof(sw), "FreeSWITCH (%s)", switch_version_revision_human());
|
||||
switch_stun_packet_attribute_add_software(packet, sw, (uint16_t)strlen(sw));
|
||||
|
||||
if ((ice->type & ICE_CONTROLLED)) {
|
||||
|
||||
Reference in new issue
Block a user