提交 8ca4efea authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-3709 --resolve

上级 5b65045d
...@@ -1308,11 +1308,11 @@ SWITCH_DECLARE(void *) switch_core_hash_find_rdlock(_In_ switch_hash_t *hash, _I ...@@ -1308,11 +1308,11 @@ SWITCH_DECLARE(void *) switch_core_hash_find_rdlock(_In_ switch_hash_t *hash, _I
/*! /*!
\brief Gets the first element of a hashtable \brief Gets the first element of a hashtable
\param depricate_me [deprecated] NULL \param deprecate_me [deprecated] NULL
\param hash the hashtable to use \param hash the hashtable to use
\return The element, or NULL if it wasn't found \return The element, or NULL if it wasn't found
*/ */
SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *depricate_me, _In_ switch_hash_t *hash); SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *deprecate_me, _In_ switch_hash_t *hash);
/*! /*!
\brief Gets the next element of a hashtable \brief Gets the next element of a hashtable
......
...@@ -222,7 +222,7 @@ SWITCH_DECLARE(void *) switch_core_hash_find_rdlock(switch_hash_t *hash, const c ...@@ -222,7 +222,7 @@ SWITCH_DECLARE(void *) switch_core_hash_find_rdlock(switch_hash_t *hash, const c
return val; return val;
} }
SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *depricate_me, switch_hash_t *hash) SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *deprecate_me, switch_hash_t *hash)
{ {
return (switch_hash_index_t *) sqliteHashFirst(&hash->table); return (switch_hash_index_t *) sqliteHashFirst(&hash->table);
} }
......
...@@ -420,7 +420,7 @@ SWITCH_DECLARE(void) switch_time_sync(void) ...@@ -420,7 +420,7 @@ SWITCH_DECLARE(void) switch_time_sync(void)
runtime.offset = runtime.reference - time_now(0); runtime.offset = runtime.reference - time_now(0);
runtime.reference = time_now(runtime.offset); runtime.reference = time_now(runtime.offset);
if (runtime.reference - last_time > 1000000 || last_time == 0) { if (runtime.reference - last_time > 1000000 || last_time == 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Clock syncronized to system time.\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Clock synchronized to system time.\n");
} }
last_time = runtime.reference; last_time = runtime.reference;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论