|
|
@ -10,7 +10,7 @@ |
|
|
|
#include "backend.h" |
|
|
|
#include "backend.h" |
|
|
|
|
|
|
|
|
|
|
|
void usage() { |
|
|
|
void usage() { |
|
|
|
fprintf(stderr, "Usage: backend-test <config-file.conf> <id>\n"); |
|
|
|
fprintf(stderr, "Usage: backend-test <backend.conf> <id>\n"); |
|
|
|
exit(EXIT_FAILURE); |
|
|
|
exit(EXIT_FAILURE); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (config.backends == NULL) { |
|
|
|
if (config.backends == NULL) { |
|
|
|
f2b_log_msg(log_error, "nos backend found in config"); |
|
|
|
f2b_log_msg(log_error, "no backends found in config"); |
|
|
|
return EXIT_FAILURE; |
|
|
|
return EXIT_FAILURE; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
section = config.backends; |
|
|
|
section = config.backends; |
|
|
|