From 14f0ec7cdea158937db0aa6573e1feff8908ac2e Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Mon, 23 May 2011 13:21:15 +0200 Subject: [PATCH] + --- src/pkg-psyc.c | 10 +++++----- src/version.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pkg-psyc.c b/src/pkg-psyc.c index 89e573d..0bf4b16 100644 --- a/src/pkg-psyc.c +++ b/src/pkg-psyc.c @@ -298,7 +298,7 @@ f_psyc_parse (svalue_t *sp) { int ret, retl, type = -1, error = 0; size_t size, i; ssize_t n; - time_t t; + time_t timmy; if (!psyc_dispatch_callback) psyc_dispatch_callback = new_tabled("psyc_dispatch"); @@ -460,14 +460,14 @@ f_psyc_parse (svalue_t *sp) { switch (type) { case PSYC_TYPE_DATE: // number + PSYC_EPOCH - if (psyc_parseDate(&value, &t)) - put_number(sv, t); + if (psyc_parseDate(&value, &timmy)) + put_number(sv, timmy); else error = PSYC_PARSE_ERROR_DATE; break; case PSYC_TYPE_TIME: // number - if (psyc_parseTime(&value, &t)) - put_number(sv, t); + if (psyc_parseTime(&value, &timmy)) + put_number(sv, timmy); else error = PSYC_PARSE_ERROR_TIME; break; diff --git a/src/version.sh b/src/version.sh index 4707909..e64cf7c 100644 --- a/src/version.sh +++ b/src/version.sh @@ -17,7 +17,7 @@ version_longtype="stable" # A timestamp, to be used by bumpversion and other scripts. # It can be used, for example, to 'touch' this file on every build, thus # forcing revision control systems to add it on every checkin automatically. -version_stamp="Mon May 23 12:10:14 CEST 2011" +version_stamp="Mon May 23 13:21:10 CEST 2011" # Okay, LDMUD is using 3.x.x so to avoid conflicts let's just use 4.x.x version_major=4