diff --git a/client/d4.c b/client/d4.c index 18af7ba..05dc56c 100644 --- a/client/d4.c +++ b/client/d4.c @@ -87,5 +87,6 @@ int main (int argc, char* argv[]) d4_load_config(d4); + return EXIT_SUCCESS; } diff --git a/client/d4.h b/client/d4.h index 21913ae..9dea66c 100644 --- a/client/d4.h +++ b/client/d4.h @@ -9,6 +9,7 @@ #define INSERT_ERROR(...) do { \ if (d4->err_idx < NERRORS) \ snprintf(d4->errors[d4->err_idx],SZERRVALUE,__VA_ARGS__); \ + d4->err_idx++;\ } while(0) typedef struct d4_header_s {