mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
Add NULLADDR to prevent dynamic linkage error under Linux
This commit is contained in:
parent
7ba3e25813
commit
ff1a560547
@ -23,6 +23,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static char* NULLADDR="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
|
||||||
|
|
||||||
static struct pluginlink * pl;
|
static struct pluginlink * pl;
|
||||||
|
|
||||||
@ -101,6 +102,7 @@ static struct commands transparent_commandhandlers[] = {
|
|||||||
#define PLUGINCALL
|
#define PLUGINCALL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
PLUGINAPI int PLUGINCALL transparent_plugin (struct pluginlink * pluginlink,
|
PLUGINAPI int PLUGINCALL transparent_plugin (struct pluginlink * pluginlink,
|
||||||
int argc, char** argv){
|
int argc, char** argv){
|
||||||
pl = pluginlink;
|
pl = pluginlink;
|
||||||
|
Loading…
Reference in New Issue
Block a user