403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
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/sysutils/gtk-imonc/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/gtk-imonc/files/patch-timer.c
--- src/timer.c.orig	Wed Jan 12 12:36:24 2005
+++ src/timer.c	Thu Feb 17 21:10:06 2005
@@ -293,14 +293,14 @@
 				}
 				else
 				{
-					tmpbytes = atoll (strtok (NULL, " "));
+					tmpbytes = strtoll (strtok (NULL, " "), NULL, 10);
 					ibytes += tmpbytes;
 					row[i] = get_bytes (tmpbytes,
 							    ibytebuf);
 				}
 				break;
 			case 9:	/* OBytes */
-				tmpbytes = atoll (strtok (NULL, " "));
+				tmpbytes = strtoll (strtok (NULL, " "), NULL, 10);
 				obytes += tmpbytes;
 				row[i] = get_bytes (tmpbytes, obytebuf);
 				break;
@@ -1165,8 +1165,8 @@
 		}
 		else
 		{
-			gtk_clist_set_text (GTK_CLIST (clist), j, 3, get_bytes(atoll(strtok(get_answer (fd)," ")), buf));
-			gtk_clist_set_text (GTK_CLIST (clist), j, 4, get_bytes(atoll(strtok(NULL, " ")), buf));
+			gtk_clist_set_text (GTK_CLIST (clist), j, 3, get_bytes(strtoll(strtok(get_answer (fd)," "), NULL, 10), buf));
+			gtk_clist_set_text (GTK_CLIST (clist), j, 4, get_bytes(strtoll(strtok(NULL, " "), NULL, 10), buf));
 		}
 
 		send_command (fd, "online-time pppoe");

Youez - 2016 - github.com/yon3zu
LinuXploit