/*
- * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#include <cstring>
#include <iostream>
#include <string>
-#include <vector> //todo: turn into multimap
+#include <vector>
#include <syslog.h>
#include "auth/basic/SMB_LM/msntauth.h"
if (dc.domain.length() == 0 || dc.server.length() == 0) {
std::cerr << "Error: invalid domain specification in '" << arg <<
"'. Ignoring." << std::endl;
- exit(1);
+ exit(EXIT_FAILURE);
}
domaincontrollers.push_back(dc);
}
if (domaincontrollers.empty()) {
display_usage_instructions();
std::cerr << "Error: no domain controllers specified" << std::endl;
- exit(1);
+ exit(EXIT_FAILURE);
}
while (1) {
err = 0;
}
- return 0;
+ return EXIT_SUCCESS;
}