mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
+
This commit is contained in:
parent
9a7ec7f559
commit
14f0ec7cde
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue