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;
|
break;
|
||||||
}
|
}
|
||||||
if (dpy == 256)
|
if (dpy == 256)
|
||||||
errx ("no free x-servers");
|
errx (1, "no free x-servers");
|
||||||
if (listen (unixfd, SOMAXCONN) < 0)
|
if (listen (unixfd, SOMAXCONN) < 0)
|
||||||
err (1, "listen");
|
err (1, "listen");
|
||||||
if (tcp_socket)
|
if (tcp_socket)
|
||||||
|
@@ -261,8 +261,8 @@ list_otps (int argc, char **argv, char *user)
|
|||||||
usage();
|
usage();
|
||||||
|
|
||||||
db = otp_db_open ();
|
db = otp_db_open ();
|
||||||
if(db == NULL) {
|
if(db == NULL)
|
||||||
errx ("otp_db_open failed");
|
errx (1, "otp_db_open failed");
|
||||||
|
|
||||||
if (user)
|
if (user)
|
||||||
print_otp_entry_for_name(db, user);
|
print_otp_entry_for_name(db, user);
|
||||||
|
Reference in New Issue
Block a user