This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tftp_server_test.c: serverX_id


Hi all;

In tftp_server_test.c, it seems that tftpd_start is expected 
to return positive value when it succeeds. However it may return 
negative value since the return value of tftpd_start origins 
from the return value of malloc and is casted to (int).

The attachement is the patch to fix the problem.

Motoya Kurotsu
Allied Telesis K.K.

Attachment: tftp_server_test.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]