removing tv member from sigboost structures

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@772 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva 2009-07-13 16:29:47 +00:00
parent 3148bc5eae
commit d81971970d
2 changed files with 0 additions and 6 deletions

View File

@ -99,7 +99,6 @@ typedef struct
uint32_t trunk_group;
uint8_t span;
uint8_t chan;
struct timeval tv;
uint8_t called_number_digits_count;
char called_number_digits [MAX_DIALED_DIGITS + 1]; /* it's a null terminated string */
uint8_t calling_number_digits_count; /* it's an array */
@ -127,7 +126,6 @@ typedef struct
uint32_t trunk_group;
uint8_t span;
uint8_t chan;
struct timeval tv;
uint8_t release_cause;
} t_sigboost_short;
#pragma pack()

View File

@ -404,8 +404,6 @@ int __ss7bc_connection_write(ss7bc_connection_t *mcon, ss7bc_event_t *event, con
}
}
gettimeofday(&event->tv, NULL);
zap_mutex_lock(mcon->mutex);
if (event->event_id == SIGBOOST_EVENT_SYSTEM_RESTART_ACK) {
mcon->txseq=0;
@ -450,8 +448,6 @@ int __ss7bc_connection_writep(ss7bc_connection_t *mcon, ss7bc_event_t *event, co
event_size=sizeof(ss7bc_short_event_t);
}
gettimeofday(&event->tv, NULL);
zap_mutex_lock(mcon->mutex);
event->version = SIGBOOST_VERSION;
err = sendto(mcon->socket, event, event_size, 0, (struct sockaddr *) &mcon->remote_addr, sizeof(mcon->remote_addr));