projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed silc_errno_string to return correct error string.
[silc.git]
/
lib
/
silcutil
/
silcerrno.c
diff --git
a/lib/silcutil/silcerrno.c
b/lib/silcutil/silcerrno.c
index 1739b2da64877e8107031b50769de2cd3054dd11..62404a8ea3e9d77b96e9d38a88bc5e9fa29caaf1 100644
(file)
--- a/
lib/silcutil/silcerrno.c
+++ b/
lib/silcutil/silcerrno.c
@@
-350,6
+350,20
@@
const char *silc_errno_strings[] =
"Interrupted",
"Not valid",
"Limit reached",
"Interrupted",
"Not valid",
"Limit reached",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
"No such file or directory",
"Already exists",
"No such file or directory",
"Already exists",
@@
-364,6
+378,23
@@
const char *silc_errno_strings[] =
"I/O error",
"Bad file descriptor",
"End of file",
"I/O error",
"Bad file descriptor",
"End of file",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
"Bad IP address",
"Unknown IP address",
"Bad IP address",
"Unknown IP address",
@@
-380,7
+411,7
@@
const char *silc_errno_strings[] =
"Network is down",
"End of stream",
"Network is down",
"End of stream",
- NULL
+ "",
};
/* Map error to string */
};
/* Map error to string */