(krb5_change_password): clarify an expression, avoiding a warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8770 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -302,7 +302,7 @@ krb5_change_password (krb5_context context,
|
|||||||
FD_ZERO(&fdset);
|
FD_ZERO(&fdset);
|
||||||
FD_SET(sock, &fdset);
|
FD_SET(sock, &fdset);
|
||||||
tv.tv_usec = 0;
|
tv.tv_usec = 0;
|
||||||
tv.tv_sec = 1 + 1 << i;
|
tv.tv_sec = 1 + (1 << i);
|
||||||
|
|
||||||
ret = select (sock + 1, &fdset, NULL, NULL, &tv);
|
ret = select (sock + 1, &fdset, NULL, NULL, &tv);
|
||||||
if (ret < 0 && errno != EINTR) {
|
if (ret < 0 && errno != EINTR) {
|
||||||
|
Reference in New Issue
Block a user