change low res sleep func api names

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-01-25 21:23:07 +00:00
1 parent 1973ee74bc
commit 0463541d61
49 files changed
+180 -180

No files matched your search

+3 -3
View File
@@ -55,7 +55,7 @@ void sofia_glue_set_image_sdp(private_object_t *tech_pvt, switch_t38_options_t *
}
if (!tech_pvt->owner_id) {
tech_pvt->owner_id = (uint32_t) switch_timestamp(NULL) - port;
tech_pvt->owner_id = (uint32_t) switch_epoch_time_now(NULL) - port;
}
if (!tech_pvt->session_id) {
@@ -145,7 +145,7 @@ void sofia_glue_set_local_sdp(private_object_t *tech_pvt, const char *ip, uint32
}
if (!tech_pvt->owner_id) {
tech_pvt->owner_id = (uint32_t) switch_timestamp(NULL) - port;
tech_pvt->owner_id = (uint32_t) switch_epoch_time_now(NULL) - port;
}
if (!tech_pvt->session_id) {
@@ -2902,7 +2902,7 @@ void sofia_glue_restart_all_profiles(void)
switch_hash_this(hi, &var, NULL, &val);
if ((pptr = (sofia_profile_t *) val)) {
int rsec = 10;
int diff = (int) (switch_timestamp(NULL) - pptr->started);
int diff = (int) (switch_epoch_time_now(NULL) - pptr->started);
int remain = rsec - diff;
if (sofia_test_pflag(pptr, PFLAG_RESPAWN) || !sofia_test_pflag(pptr, PFLAG_RUNNING)) {
continue;