403Webshell
Server IP : 172.64.80.1  /  Your IP : 216.73.216.175
Web Server : LiteSpeed
System : Linux srv13.swhc.ca 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : hongluck ( 2522)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/hongluck/public_html/old site/webcal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/hongluck/public_html/old site/webcal/install-datebook.patch
--- install-datebook.c.orig	Wed Jan 13 23:29:31 1999
+++ install-datebook.c	Thu Jun 22 12:47:10 2000
@@ -129,7 +129,7 @@
 	} else {
 	  appointment.event = 0;
 	}
-	if (fields[0][0] == '\0') {
+	if (fields[0][0] != '\0') {
 	  time_t t;
 	  appointment.event = 0;
 	  t = parsedate(fields[0]);
@@ -139,7 +139,7 @@
 	  }
 	  appointment.begin = *localtime(&t);
 	}
-	if (fields[1][0] == '\0') {
+	if (fields[1][0] != '\0') {
 	  time_t t;
 	  t = parsedate(fields[1]);
 	  if (t == -1) {
@@ -177,6 +177,9 @@
 	Appointment_size = pack_Appointment(&appointment, Appointment_buf,
 					    sizeof(Appointment_buf));
 	printf("desc: %s\n", appointment.description); 
+        printf("date: %d/%d/%d %d:%02d\n", appointment.begin.tm_mon + 1,
+          appointment.begin.tm_mday, appointment.begin.tm_year + 1900,
+          appointment.begin.tm_hour, appointment.begin.tm_min );
 	dlp_WriteRecord(sd, db, 0, 0, 0, Appointment_buf, Appointment_size, 0);
 	fields[fieldno++] = cPtr;
       } else {

Youez - 2016 - github.com/yon3zu
LinuXploit