more fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1529 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -198,7 +198,7 @@ get_xsockets (int *unix_socket, int *tcp_socket)
|
||||
break;
|
||||
}
|
||||
if (dpy == 256)
|
||||
errx ("no free x-servers");
|
||||
errx (1, "no free x-servers");
|
||||
if (listen (unixfd, SOMAXCONN) < 0)
|
||||
err (1, "listen");
|
||||
if (tcp_socket)
|
||||
|
@@ -261,8 +261,8 @@ list_otps (int argc, char **argv, char *user)
|
||||
usage();
|
||||
|
||||
db = otp_db_open ();
|
||||
if(db == NULL) {
|
||||
errx ("otp_db_open failed");
|
||||
if(db == NULL)
|
||||
errx (1, "otp_db_open failed");
|
||||
|
||||
if (user)
|
||||
print_otp_entry_for_name(db, user);
|
||||
|
Reference in New Issue
Block a user