223,8 → 223,11 |
call print_char |
|
pop esi |
push esi |
call print_asciiz |
pop esi |
|
|
lea esi, [edi - packetbuf] |
mcall send, [socketnum], packetbuf, , 0 |
|
527,7 → 530,7 |
mov al, 0x01 |
stosb |
|
push esi |
push edi esi |
|
; copy the message itself |
@@: |
547,6 → 550,7 |
stosb |
mov ax, 0x0a0d |
stosw |
mov byte[edi], 0 |
|
; now print to the window |
if TIMESTAMP |
556,7 → 560,7 |
mov esi, ctcp_header |
call print_asciiz |
|
mov esi, user_command+6 |
mov esi, packetbuf+8 |
mov bl, ' ' |
call print_string |
|
568,13 → 572,13 |
|
pop esi |
call print_asciiz |
pop esi |
|
mov al, 10 |
call print_char |
|
; now send it away |
lea esi, [edi - packetbuf] ; calculate length |
mcall send, [socketnum], packetbuf, , 0 ; and finally send to server |
|
.fail: |
|
ret |