]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3220: more than just typos
authorBrian West <brian@freeswitch.org>
Fri, 1 Apr 2011 22:38:58 +0000 (17:38 -0500)
committerBrian West <brian@freeswitch.org>
Fri, 1 Apr 2011 22:38:58 +0000 (17:38 -0500)
src/include/switch.h
src/include/switch_core.h
src/include/switch_utils.h
src/mod/endpoints/mod_portaudio/mod_portaudio.c
src/mod/endpoints/mod_sofia/sofia.c

index ce2ba7867f7708f3d0baf93fa3d1b4eeedbf1fcc..de099f1b94293eb623b271f1194b899fde9078fb 100644 (file)
  *
  *  - Linux (x86 & x86_64)
  *  - Windows (MSVC 2008 & VC++ EE 2008)
+ *  - Windows (MSVC 2010 & VC++ EE 2010)
  *  - Mac OS X (intel & ppc )
  *  - FreeBSD 6
  *
  *     mod_pocketsphinx
  *             - PocketSphinx (http://www.speech.cs.cmu.edu/pocketsphinx/)
  *
+ *     mod_unimrcp
+ *             - MRCP (http://www.unimrcp.org/)
+ *
+ *
  *  Codecs
  *     mod_speex
  *             - libspeex (http://www.speex.org/)
index 2946478c8928c7f497383ae5f02ae2cec63222e8..684cc4f77725e84a0f78389af273f52ffd7d133c 100644 (file)
@@ -1183,7 +1183,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_recv_dtmf(_In_ switch_core_s
 ///\ingroup core1
 ///\{
 /*! 
-  \brief Initilize a hash table
+  \brief Initialize a hash table
   \param hash a NULL pointer to a hash table to aim at the new hash
   \param pool the pool to use for the new hash
   \return SWITCH_STATUS_SUCCESS if the hash is created
index 1f65b0ff437febd951f6f1a1147d3beaf078278f..b08c20488926d4a3f636cde724c44e8b457a342a 100644 (file)
@@ -635,7 +635,7 @@ SWITCH_DECLARE(switch_time_t) switch_str_time(const char *in);
 #define switch_time_from_sec(sec)   ((switch_time_t)(sec) * 1000000)
 
 /*!
-  \brief Declares a function designed to set a dymaic global string
+  \brief Declares a function designed to set a dynamic global string
   \param fname the function name to declare
   \param vname the name of the global pointer to modify with the new function
 */
@@ -643,9 +643,9 @@ SWITCH_DECLARE(switch_time_t) switch_str_time(const char *in);
                if (vname) {free(vname); vname = NULL;}vname = strdup(string);} static void fname(const char *string)
 
 /*!
-  \brief Separate a string into an array based on a character delimeter
+  \brief Separate a string into an array based on a character delimiter
   \param buf the string to parse
-  \param delim the character delimeter
+  \param delim the character delimiter
   \param array the array to split the values into
   \param arraylen the max number of elements in the array
   \return the number of elements added to the array
index baa33d456ed0c4f3295474061a078e944ceb716c..c710fc352a0e3468f2ac70a444cac5f18ad16fbe 100644 (file)
@@ -1198,14 +1198,14 @@ static switch_status_t load_config(void)
                if (globals.outdev > -1) {
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Switching to default output device\n");
                } else {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot find an input device\n");
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot find an output device\n");
                        status = SWITCH_STATUS_GENERR;
                }
        }
 
        if (globals.ringdev < 0) {
                if (globals.outdev > -1) {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid ring device configured using output device\n");
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid or no ring device configured, using output device as ring device\n");
                        globals.ringdev = globals.outdev;
                }
        }
index 23f1fd0e8821bd837051794f265d78eab8549545..b9aec745632b470e6f18cd75892f8176b07000b6 100644 (file)
@@ -6151,7 +6151,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t
                /* Barf if we didn't get our private */
                assert(switch_core_session_get_private(session));
                
-               if (sip->sip_content_type && sip->sip_content_type->c_subtype && sip->sip_content_type->c_type &&
+               if (sip && sip->sip_content_type && sip->sip_content_type->c_subtype && sip->sip_content_type->c_type &&
                        !strncasecmp(sip->sip_content_type->c_type, "message", 7) &&
                        !strcasecmp(sip->sip_content_type->c_subtype, "update_display")) {
                        sofia_update_callee_id(session, profile, sip, SWITCH_TRUE);