// OTT mirror
-// Copyright (C) 2014, 2022 Balthasar Szczepański
+// Copyright (C) 2014, 2022, 2023 Balthasar Szczepański
// post.c automatically generated from post.1.c
// write posts from the mirror.
-// 09.10.2022
//
// This file is part of OTT mirror.
//
unsigned long lastpage;
unsigned short postslast;
char listpath[N_STRBUF];
+ long long time_n;
posttime=time(NULL);
if(forceID[0]!='\0')
+ {
snprintf(timenumber,N_STRBUF_SH,"%s",forceID);
+ time_n = atoll(forceID);
+ if (time_n != 0)
+ posttime = (time_t) time_n;
+ }
else
snprintf(timenumber,N_STRBUF_SH,"%llu",(unsigned long long)posttime);
strftime(timetext,N_STRBUF-1,"%a %b %d, %Y %I:%M %p %Z",gmtime(&posttime));
_www_up_path_ = @_PATH($_www_up_path, )
-MAKE_CONFIGURE = CONFIGURE =$configure
MAKE_TARGET = TARGET =$target
MAKE_CHMOD = CHMOD=$chmod