| Summary: | Update the error handling of scid to deal with the socket exception | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | rong li <ronglli> | ||||
| Component: | SCI | Assignee: | rong li <ronglli> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tuhongj | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
rong li
Created attachment 193857 [details]
Submit the patch for updating the error handling of scid
Submit the patch for updating the error handling of scid
Could you change the code from exit(1) to exit(-1) to comply with the existing coding style? I have applied the patch with the change I mentioned. Thanks for your comments. In the current source codes, scia.cpp uses "exit(1)" instead of "exit(-1)". We can change it to "exit(-1)" to make all the existing coding style consistent. The codes have already been committed into the branch. |