krb5 commit [krb5-1.16]: Fix Leash AddDisplayItem() declaration

Greg Hudson ghudson at mit.edu
Wed May 2 01:25:30 EDT 2018


https://github.com/krb5/krb5/commit/20960dd4e3be0f95fa3f8aad168eb8b8aadbc86f
commit 20960dd4e3be0f95fa3f8aad168eb8b8aadbc86f
Author: Greg Hudson <ghudson at mit.edu>
Date:   Wed Feb 7 10:45:31 2018 -0500

    Fix Leash AddDisplayItem() declaration
    
    Commit a9cbbf0899f270fbb14f63ffbed1b6d542333641 changed three
    parameters in AddDisplayItem() from long to time_t, but did not change
    the corresponding declaration in LeashView.h.  Fix that now.
    
    (cherry picked from commit b1367abb2e2ff14446371155cb7e23a29b76aa87)
    
    ticket: 8640
    version_fixed: 1.16.1

 src/windows/leash/LeashView.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/windows/leash/LeashView.h b/src/windows/leash/LeashView.h
index 190c93b..b6d2886 100644
--- a/src/windows/leash/LeashView.h
+++ b/src/windows/leash/LeashView.h
@@ -218,9 +218,9 @@ private:
                                CCacheDisplayData *elem,
                                int iItem,
                                char *principal,
-                               long issued,
-                               long valid_until,
-                               long renew_until,
+                               time_t issued,
+                               time_t valid_until,
+                               time_t renew_until,
                                char *encTypes,
                                unsigned long flags,
                                char *cache_name);


More information about the cvs-krb5 mailing list