X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcerrno.h;h=f4760d8a861b2a146aa69371bd6faa4b8a411987;hp=f8e8f15f5649556ec79d9ac9b9bad3b787481b4d;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hpb=72c29fbfbf198651c1125ac3d991df7a0cdf8acd diff --git a/lib/silcutil/silcerrno.h b/lib/silcutil/silcerrno.h index f8e8f15f..f4760d8a 100644 --- a/lib/silcutil/silcerrno.h +++ b/lib/silcutil/silcerrno.h @@ -44,7 +44,7 @@ * // Get the detailed reason for the error too * if (silc_some_routine() == FALSE) { * fprintf(stderr, "%s (%d) (%s)", silc_errno_string(silc_errno), - * silc_errno, silc_errno_reason); + * silc_errno, silc_errno_reason()); * exit(1); * } * @@ -94,6 +94,7 @@ typedef enum { SILC_ERR_INTERRUPTED = 23, /* Interrupted */ SILC_ERR_NOT_VALID = 24, /* Not valid */ SILC_ERR_LIMIT = 25, /* Limit reached */ + SILC_ERR_SYNTAX = 26, /* Syntax error */ /* File, directory and device errors */ SILC_ERR_NO_SUCH_FILE = 40, /* No such file */