Fix stack overflow
This commit is contained in:
parent
9371642c96
commit
283742f117
1 changed files with 0 additions and 5 deletions
5
tftp.c
5
tftp.c
|
@ -216,11 +216,6 @@ void sock_perror(const char *msg)
|
||||||
{
|
{
|
||||||
win_perror2(msg, WSAGetLastError());
|
win_perror2(msg, WSAGetLastError());
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
inline void sock_perror(const char *msg)
|
|
||||||
{
|
|
||||||
perror(msg);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline bool tftp_is_valid_filename(const char *filename)
|
inline bool tftp_is_valid_filename(const char *filename)
|
||||||
|
|
Loading…
Add table
Reference in a new issue