394 |
|
continue; |
395 |
|
|
396 |
|
if (MyConnect(target_p)) |
397 |
< |
{ |
398 |
< |
if (target_p->localClient->serial != current_serial) |
399 |
< |
{ |
400 |
< |
send_message(target_p, local_buf, local_len); |
401 |
< |
target_p->localClient->serial = current_serial; |
402 |
< |
} |
403 |
< |
} |
404 |
< |
else |
405 |
< |
{ |
406 |
< |
/* Now check whether a message has been sent to this |
407 |
< |
* remote link already |
408 |
< |
*/ |
409 |
< |
if (target_p->from->localClient->serial != current_serial) |
410 |
< |
{ |
411 |
< |
if (IsCapable(target_p->from, CAP_TS6)) |
412 |
< |
send_message_remote(target_p->from, from, uid_buf, uid_len); |
413 |
< |
else |
414 |
< |
send_message_remote(target_p->from, from, remote_buf, remote_len); |
415 |
< |
target_p->from->localClient->serial = current_serial; |
416 |
< |
} |
417 |
< |
} |
397 |
> |
send_message(target_p, local_buf); |
398 |
> |
else if (target_p->from->localClient->serial != current_serial) |
399 |
> |
send_message_remote(target_p->from, from, remote_buf); |
400 |
> |
target_p->from->localClient->serial = current_serial; |
401 |
|
} |
402 |
|
} |
403 |
|
|