projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9371642
)
Fix stack overflow
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Thu, 18 Feb 2016 18:30:31 +0000
(19:30 +0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Thu, 18 Feb 2016 18:30:31 +0000
(19:30 +0100)
tftp.c
patch
|
blob
|
history
diff --git
a/tftp.c
b/tftp.c
index 282f6d2d07342834e0cc3d0603ada46a322e61ec..da76dc97158e75947ab2e9e23d3a9cc1862dcd62 100644
(file)
--- a/
tftp.c
+++ b/
tftp.c
@@
-216,11
+216,6
@@
void sock_perror(const char *msg)
{
win_perror2(msg, WSAGetLastError());
}
-#else
-inline void sock_perror(const char *msg)
-{
- perror(msg);
-}
#endif
inline bool tftp_is_valid_filename(const char *filename)