| 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/editors/fxite/files/ |
Upload File : |
--- jef/interproc.cpp.orig 2013-10-03 09:22:51 UTC
+++ jef/interproc.cpp
@@ -323,7 +323,19 @@ static int SocketFailure(const char*func)
}
+#if (FOX_MINOR>6)
+# if (FOX_MAJOR>1) || (FOX_MINOR>7) || (FOX_LEVEL>49)
+# define FOX_1_7_50_OR_NEWER
+# endif
+#endif
+#ifdef FOX_1_7_50_OR_NEWER
+# define LookupInHash(d,k) ((d)->at(k))
+#else
+# define LookupInHash(d,k) ((d)->find(k))
+#endif
+
+
long InterProc::onSocketRead(FXObject*o,FXSelector sel,void*p)
{
switch (FXSELID(sel)) {
@@ -344,7 +356,7 @@ long InterProc::onSocketRead(FXObject*o,FXSelector sel
ssize_t len=0;
char buf[bufsize];
int read_fd=(FXival)p;
- FXString*s=(FXString*)connlist->find(p);
+ FXString*s=(FXString*)LookupInHash(connlist,p);
do {
len=read(read_fd,buf,bufsize);
if (len>0) { s->append(buf, len); }