freeswitch/src
Sebastian Kemper 28d39be261 [core] Fix copy/paste mistake in switch_xml.h
Commit 7907994 introduced a copy/paste mistake that may result in
compile failure:

In file included from ../../../../src/include/switch.h:134,
                 from mod_xml_ldap.c:34:
mod_xml_ldap.c: In function 'xml_ldap_search':
../../../../src/include/switch_xml.h:236:68: error: implicit declaration of function 'switch_xml_toxml_buf'; did you mean 'switch_xml_toxml_buf_ex'? [-Werror=implicit-function-declaration]
 #define switch_xml_toxml_buf(xml, buf, buflen, offset, prn_header) switch_xml_toxml_buf(xml, buf, buflen, offset, prn_header, USE_UTF_8_ENCODING);
                                                                    ^~~~~~~~~~~~~~~~~~~~
mod_xml_ldap.c:764:9: note: in expansion of macro 'switch_xml_toxml_buf'
         switch_xml_toxml_buf(xml, buf, 0, 0, 1);
         ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[7]: *** [Makefile:710: mod_xml_ldap_la-mod_xml_ldap.lo] Error 1

This commit fixes the mistake.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-01-01 15:29:28 +01:00
..
include [core] Fix copy/paste mistake in switch_xml.h 2020-01-01 15:29:28 +01:00
mod swigall 2019-12-30 23:39:35 +00:00
.gitignore
CMakeLists.txt
Makefile.am
cJSON.c
cJSON_Utils.c
fs_encode.c
fs_tts.c FS-11831 add fs_tts utility 2019-07-17 20:04:59 +04:00
g711.c
inet_pton.c
switch.c FS-12032 remove extra semi colon 2019-12-30 23:57:16 +04:00
switch_apr.c FS-11903: Fix errors (again) reported by PVS-Studio Static Code Analyzer for switch_apr.c 2019-07-16 01:32:55 +04:00
switch_buffer.c FS-11896: [core] Fix typos 2019-07-18 00:26:51 +04:00
switch_caller.c [FS-11609] [core] lookup values in caller profile soft variables 2019-02-18 14:03:24 +00:00
switch_channel.c FS-10634: [core] Fix switch_channel_wait_for_app_flag from previous commit 2019-07-18 00:33:02 +04:00
switch_config.c
switch_console.c FS-11892 [switch_console] fix stream write_function 2019-06-18 12:47:39 +03:00
switch_core.c [core] Add SHUTDOWN_REQUESTED event. Bind to this event to know when ASAP or elegant shutdown has been requested. 2019-12-31 03:11:12 +04:00
switch_core_asr.c
switch_core_cert.c FS-12039: [Core] Fix memory leak on ssl shutdown. 2019-09-06 17:50:16 +04:00
switch_core_codec.c FS-12008: special case G722 - fix rate passed to switch_core_codec_init() 2019-08-19 18:31:10 +00:00
switch_core_db.c FS-11827: [Core] Add feature allowing FreeSWITCH to store CORE DB (SQLite) fully in memory (core-db-dsn). 2019-12-31 02:28:20 +04:00
switch_core_directory.c
switch_core_event_hook.c
switch_core_file.c [Core] Add PRE_CLOSED flag on file handle, add unit test. 2019-12-05 21:55:46 +04:00
switch_core_hash.c FS-12038: [mod_sofia, core] Fix potential leak and race in chat_hash, add switch_core_hash_insert_auto_free(). 2019-09-06 20:22:20 +04:00
switch_core_io.c [Core] DTMF: Avoid division by zero on low actual_samples_per_second 2019-12-20 00:14:17 +04:00
switch_core_media.c FS-11836: scan-build: Argument with 'nonnull' attribute passed null 2019-12-30 23:55:18 +04:00
switch_core_media_bug.c [core] Add SMBF_FIRST flag which forces media bug to front of the list. Add 'f' flag to switch_ivr_displace_session to add displace as first operation on the media stream. (#76) 2019-12-31 03:14:31 +04:00
switch_core_memory.c [Core, mod_commands] Add switch_core_pool_stats API and pool_stats command with corresponding --enable-pool-debug configure flag. 2019-12-31 02:07:22 +04:00
switch_core_port_allocator.c
switch_core_rwlock.c
switch_core_session.c FS-11878 [core] change log level of dialplan EXECUTE 2019-07-18 00:58:57 +04:00
switch_core_speech.c FS-11601: Fix some core function prototype 2019-01-09 08:44:41 -05:00
switch_core_sqldb.c [Core] Database interface: fix potential crash in switch_cache_db_database_interface_flush_handles, code cleanup. 2019-12-31 02:29:12 +04:00
switch_core_state_machine.c FS-11454: [core] Add error log when attempting to route to an invalid dialplan interface 2019-07-25 14:30:24 -06:00
switch_core_timer.c
switch_core_video.c core side of vpx update 2019-07-25 23:06:59 +04:00
switch_cpp.cpp FS-11559: check file name null ptr (crashfix CoreSession:recordFile) 2018-12-17 04:30:51 -05:00
switch_curl.c
switch_dso.c
switch_estimators.c FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_estimators.c 2019-07-15 23:41:47 +04:00
switch_event.c [core] Add SHUTDOWN_REQUESTED event. Bind to this event to know when ASAP or elegant shutdown has been requested. 2019-12-31 03:11:12 +04:00
switch_hashtable.c FS-10601: [freeswitch-core] accomodate should be accommodate #resolve 2017-08-21 17:09:24 -05:00
switch_ivr.c FS-11820 [core] check read_frame_callback in switch_ivr_sleep() 2019-07-17 23:30:41 +04:00
switch_ivr_async.c [core] Add SMBF_FIRST flag which forces media bug to front of the list. Add 'f' flag to switch_ivr_displace_session to add displace as first operation on the media stream. (#76) 2019-12-31 03:14:31 +04:00
switch_ivr_bridge.c [core] scan-build: audio_bridge_thread() - Dead assignment 2019-12-31 00:57:39 +04:00
switch_ivr_menu.c FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_ivr_menu.c 2019-07-15 23:42:06 +04:00
switch_ivr_originate.c [Core] Fix dereference of null pointer in switch_ivr_originate and switch_ivr_enterprise_originate causing crashes, add unit test. 2019-12-31 02:31:26 +04:00
switch_ivr_play_say.c FS-9264 Add more logging to wait_for_silence, detect_audio and detect_silence api calls 2019-07-26 00:37:15 +04:00
switch_ivr_say.c
switch_jitterbuffer.c FS-11788: JB: packet count on vbw too 2019-07-25 23:56:16 +00:00
switch_json.c
switch_limit.c FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_limit.c 2019-07-15 23:42:12 +04:00
switch_loadable_module.c FS-12007 fix leak 2019-08-19 23:09:47 +04:00
switch_log.c FS-11870 [core] fix divide by zero in previous commit 2019-07-18 00:08:02 +04:00
switch_mprintf.c
switch_msrp.c [Core] Disable msrp by default, only enable when listen-port or listen-ssl-port config params configured in msrp.conf 2019-10-13 21:27:58 +04:00
switch_nat.c FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_nat.c 2019-07-15 23:43:48 +04:00
switch_odbc.c FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_odbc.c 2019-07-15 23:43:51 +04:00
switch_pcm.c FS-10529: [mod_native_file] mod_native_file: remove "opus" extension -- fix regression 2017-08-17 16:08:40 -05:00
switch_profile.c FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_profile.c 2019-07-15 23:43:55 +04:00
switch_regex.c FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_regex.c 2019-07-15 23:44:27 +04:00
switch_resample.c [core] scan-build: switch_agc_feed() - Division by zero 2019-12-31 00:57:59 +04:00
switch_rtp.c [core] change No audio stun for a long time error to warning 2019-12-31 02:32:47 +04:00
switch_scheduler.c FS-11801 [core] Update scheduler to allow destruction of running task 2019-07-17 23:02:47 +04:00
switch_sdp.c
switch_speex.c
switch_stun.c [core] scan-build: Dead assignment. Value stored to 'p' is never read 2019-12-31 00:57:48 +04:00
switch_swig.c FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate 2018-08-22 18:20:13 +00:00
switch_swig.i
switch_time.c [core] scan-build: switch_strftime_tz() - Dead assignment 2019-12-31 00:57:29 +04:00
switch_utf8.c
switch_utils.c FS-11918: [core] add function to see frame buffer len switch_frame_buffer_size 2019-07-18 00:35:56 +04:00
switch_vad.c FS-11876 [core] getter for VAD state 2019-07-18 00:31:01 +04:00
switch_version.c
switch_vpx.c FS-11425 update codec defaults 2019-07-18 01:51:28 +04:00
switch_xml.c [core] add option to toggle ampersand entities on/off when serialize xml string 2019-12-31 03:03:41 +04:00
switch_xml_config.c FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_xml_config.c 2019-07-15 23:46:07 +04:00
tone2wav.c