Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/am-utils/dist/amd don't use time_t in xdr_long



details:   https://anonhg.NetBSD.org/src/rev/d4786a39f1d2
branches:  trunk
changeset: 335624:d4786a39f1d2
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 17 19:36:39 2015 +0000

description:
don't use time_t in xdr_long

diffstat:

 external/bsd/am-utils/dist/amd/amq_subr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 6e588bb13415 -r d4786a39f1d2 external/bsd/am-utils/dist/amd/amq_subr.c
--- a/external/bsd/am-utils/dist/amd/amq_subr.c Sat Jan 17 19:34:50 2015 +0000
+++ b/external/bsd/am-utils/dist/amd/amq_subr.c Sat Jan 17 19:36:39 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amq_subr.c,v 1.1.1.3 2015/01/17 16:34:15 christos Exp $        */
+/*     $NetBSD: amq_subr.c,v 1.2 2015/01/17 19:36:39 christos Exp $    */
 
 /*
  * Copyright (c) 1997-2014 Erez Zadok
@@ -530,6 +530,7 @@
   u_int len = 0;
   int x;
   char *n;
+  long modify;
 
   /*
    * Compute length of list
@@ -554,7 +555,8 @@
       return (FALSE);
     }
 
-    if (!xdr_long(xdrs, &m->modify)) {
+    modify = m->modify;
+    if (!xdr_long(xdrs, &modify)) {
       return (FALSE);
     }
 



Home | Main Index | Thread Index | Old Index