]> sjero.net Git - linphone/commitdiff
fix bad function name
authorSimon Morlat <simon.morlat@linphone.org>
Fri, 24 Aug 2012 08:40:37 +0000 (10:40 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Fri, 24 Aug 2012 08:41:06 +0000 (10:41 +0200)
coreapi/linphonecore.c
coreapi/linphonecore.h

index 437251eb72d72f2f128598755cfd45d36eff43f4..6ed23e7c8a0c49816b1c4b6703e14b32849c5816 100644 (file)
@@ -4673,7 +4673,7 @@ void linphone_core_set_network_reachable(LinphoneCore* lc,bool_t isReachable) {
        set_network_reachable(lc,isReachable, ms_time(NULL));
 }
 
-bool_t linphone_core_is_network_reachabled(LinphoneCore* lc) {
+bool_t linphone_core_is_network_reachable(LinphoneCore* lc) {
        return lc->network_reachable;
 }
 ortp_socket_t linphone_core_get_sip_socket(LinphoneCore *lc){
index 87686d6ffd9e9e417b22abfcc2ce9311e8776782..984b09d56a907e5a0a5d95da0763758b9e39f572 100644 (file)
@@ -1096,17 +1096,15 @@ void linphone_core_set_mtu(LinphoneCore *lc, int mtu);
 /**
  * @ingroup network_parameters
  * This method is called by the application to notify the linphone core library when network is reachable.
- * Calling this method with true trigger linphone to initiate a registration process for all proxy
- * configuration with parameter register set to enable.
- * This method disable the automatic registration mode. It means you must call this method after each network state changes
- *
+ * Calling this method with true trigger linphone to initiate a registration process for all proxies.
+ * Calling this method disables the automatic network detection mode. It means you must call this method after each network state changes.
  */
 void linphone_core_set_network_reachable(LinphoneCore* lc,bool_t value);
 /**
  * @ingroup network_parameters
- * return network state either as positioned by the application or by linphone
+ * return network state either as positioned by the application or by linphone itself.
  */
-bool_t linphone_core_is_network_reachabled(LinphoneCore* lc);
+bool_t linphone_core_is_network_reachable(LinphoneCore* lc);
 
 /**
  *  @ingroup network_parameters