]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/auth/basic/SMB_LM/msntauth.cc
Maintenance: Remove FIXME and \todo labels (#647)
[thirdparty/squid.git] / src / auth / basic / SMB_LM / msntauth.cc
index fe4aab95494f204a4af3dcbee38946be400d0003..9327bc7fcc789f753dbad54fb378954930bf4d9d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -45,7 +45,7 @@
 #include <cstring>
 #include <iostream>
 #include <string>
-#include <vector> //todo: turn into multimap
+#include <vector>
 #include <syslog.h>
 
 #include "auth/basic/SMB_LM/msntauth.h"
@@ -106,14 +106,14 @@ main(int argc, char **argv)
         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) {
@@ -162,6 +162,6 @@ main(int argc, char **argv)
         err = 0;
     }
 
-    return 0;
+    return EXIT_SUCCESS;
 }