Rev 3191 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3191 | Rev 3222 | ||
---|---|---|---|
Line 220... | Line 220... | ||
220 | .byteloop: |
220 | .byteloop: |
221 | call get_next_byte ; reads byte from [esi] to al |
221 | call get_next_byte ; reads byte from [esi] to al |
222 | jnc .nextpacket ; if CF is set, we need more data |
222 | jnc .nextpacket ; if CF is set, we need more data |
223 | cmp al, 10 |
223 | cmp al, 10 |
224 | je .got_command |
224 | je .got_command |
- | 225 | cmp al, 13 |
|
- | 226 | je .got_command |
|
225 | stosb |
227 | stosb |
226 | jmp .byteloop |
228 | jmp .byteloop |
Line 227... | Line 229... | ||
227 | 229 | ||
Line 228... | Line 230... | ||
228 | ; we have a command, call the serverparser |
230 | ; we have a command, call the serverparser |
229 | 231 | ||
230 | .got_command: |
232 | .got_command: |
231 | mov byte[edi-1], 0 ; mark the end of the command |
233 | mov byte[edi], 0 ; mark the end of the command |
232 | push esi edx |
234 | push esi edx |
233 | call server_parser |
235 | call server_parser |