403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/x11-clocks/dclock/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/x11-clocks/dclock/files/patch-_dclock.c
--- dclock.c.orig	2008-07-08 12:35:18.000000000 +0900
+++ dclock.c	2012-10-08 00:28:47.000000000 +0900
@@ -7,6 +7,7 @@
  * manager: *Dclock.seconds: on
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <locale.h>
 #include <X11/Intrinsic.h>
 #include "Dclock.h"
@@ -114,6 +115,7 @@
     { "quit",	quit },
 };
 
+int
 main(argc, argv)
 char *argv[];
 {
@@ -122,10 +124,11 @@
     char *name, *rindex();
     XWMHints     *wmhints;       /* for proper input focus */
 
-    if (name = rindex(argv[0], '/'))
+    if ((name = rindex(argv[0], '/'))) {
 	name++;
-    else
+    } else {
 	name = argv[0];
+    }
 
     setlocale(LC_TIME, "");
 

Youez - 2016 - github.com/yon3zu
LinuXploit