#define HAVE_TCL_SETNOTIFIER 1
in config the eggdrop segfaults when i try to start it. Traced that to the init_ssl function which sets a threaddata structs ssl part to null.
However when HAVE_TCL_SETNOTIFIER is set this struct doesn't seem to get initiated when looking at the code in main.c.
So to my question is it bad to unset this in config? Will the ssl work if we add another ifndef statement within init_ssl for the part of that function that segfaults.
Codeparts that matter:
main.c:
Code: Select all
1033 #ifndef REPLACE_NOTIFIER
1034 init_threaddata(1);
1035 #endif
Code: Select all
144 void init_ssl()
145 {
146 int i;
147 struct threaddata *td = threaddata();
148
149 for (i = 0; i < td->MAXSOCKS; i++) {
150 td->socklist[i].ssl = NULL;
151 }
152 ...........