mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:05:48 +00:00
[ARP] Improvements to ARP
- Print message on failed memory allocations. - Functions return error code instead of exit code. - Convert error code to exit code in the main function only. - Always free the allocated memory. - Fix bug from previous commit: Use _tprintf instead _putts to print messages.
This commit is contained in:
parent
fc0a0b9f84
commit
e31069738f
2 changed files with 154 additions and 111 deletions
|
@ -74,6 +74,14 @@ Interface: %1!s! --- 0x%2!lx!
|
|||
Internet Address Physical Address Type
|
||||
.
|
||||
|
||||
MessageId=10004
|
||||
SymbolicName=MSG_ARP_NO_MEMORY
|
||||
Severity=Success
|
||||
Facility=System
|
||||
Language=English
|
||||
ARP: not enough memory
|
||||
.
|
||||
|
||||
MessageId=10005
|
||||
SymbolicName=MSG_ARP_OTHER
|
||||
Severity=Success
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue