Commit 22f42fca authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Fixed warnings in libsofia-sip-ua/tport/tport.c.

darcs-hash:20051113184432-65a35-143e70e4b922a09e7e9006667d223b40bebb3e95.gz
parent 03aefa5c
......@@ -2772,7 +2772,6 @@ static int tport_connected(su_root_magic_t *magic, su_wait_t *w, tport_t *self)
{
int events = su_wait_events(w, self->tp_socket);
tport_master_t *mr = self->tp_master;
tport_primary_t *pri = self->tp_pri;
su_wait_t wait[1] = { SU_WAIT_INIT };
int error;
......@@ -4129,7 +4128,7 @@ tport_t *tport_tsend(tport_t *self,
* If there is already an queued message,
* put this message straight in the queue
*/
if (self->tp_queue && self->tp_queue[self->tp_qhead] ||
if ((self->tp_queue && self->tp_queue[self->tp_qhead]) ||
/* ...or we are connecting */
(self->tp_events & (SU_WAIT_CONNECT | SU_WAIT_OUT))) {
if (tport_queue(self, msg) < 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment