]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/util.c
- Require 5 arguments to mtx-changer except list and slots
[bacula/bacula] / bacula / src / lib / util.c
index ed15119ab3d82f5c366e00e916b01eea32d06dcd..b592a21a6fe8abf62f42e4ebb820d1832c9aacf9 100644 (file)
@@ -468,9 +468,6 @@ void make_session_key(char *key, char *seed, int mode)
 #endif
 #ifdef HAVE_GETHOSTID
      sprintf(s + strlen(s), "%lu", (unsigned long) gethostid());
-#endif
-#ifdef HAVE_GETDOMAINNAME
-     getdomainname(s + strlen(s), 256);
 #endif
      gethostname(s + strlen(s), 256);
      sprintf(s + strlen(s), "%u", (unsigned)getuid());