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/mail/mail2sms/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/mail/mail2sms/files/patch-parse.c
--- parse.c.orig	Wed Apr 16 05:06:23 2003
+++ parse.c	Wed Apr 16 05:45:31 2003
@@ -48,8 +48,9 @@
 /*
 ** strcasestr() - case insensitive strstr()
 */
- 
-char *strcasestr(char *haystack, char *needle)
+
+/* FreeBSD defines this function a bit differently, so rename this version */
+char *mail2sms_strcasestr(char *haystack, char *needle)
 {
   int nlen = strlen(needle);
   int hlen = strlen(haystack);
@@ -325,7 +326,7 @@ struct body * process(char *mbox,    /*
   if (use_stdin || !mbox || !strcasecmp(mbox, "NONE"))
     fp = stdin;
   else if ((fp = fopen(mbox, "r")) == NULL) {
-    return; /* add error code */
+    return -1; /* add error code */
   }

   isinheader = 1;

Youez - 2016 - github.com/yon3zu
LinuXploit