DEBUG(0, ("Can't read from file.\n"));
talloc_free(mem_ctx);
close(fd);
- return WERR_GENERAL_FAILURE;
+ return WERR_GEN_FAILURE;
}
while ((line = afdgets(fd, mem_ctx, 0))) {
if (!result) {
DEBUG(0, ("Error converting string to value for line:\n%s\n",
line));
- return WERR_GENERAL_FAILURE;
+ return WERR_GEN_FAILURE;
}
error = callbacks->set_value(callback_data, curkey, value,