Fixed silc_errno_string to return correct error string.
[crypto.git] / lib / silcutil / silcerrno.c
index 1739b2da64877e8107031b50769de2cd3054dd11..62404a8ea3e9d77b96e9d38a88bc5e9fa29caaf1 100644 (file)
@@ -350,6 +350,20 @@ const char *silc_errno_strings[] =
   "Interrupted",
   "Not valid",
   "Limit reached",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
 
   "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",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
+  "",
 
   "Bad IP address",
   "Unknown IP address",
@@ -380,7 +411,7 @@ const char *silc_errno_strings[] =
   "Network is down",
   "End of stream",
 
-  NULL
+  "",
 };
 
 /* Map error to string */