diff --git a/test-server/test-echo.c b/test-server/test-echo.c index 2cfe1e3b..d347b4e7 100644 --- a/test-server/test-echo.c +++ b/test-server/test-echo.c @@ -273,7 +273,7 @@ int main(int argc, char **argv) info.iface = interface; info.protocols = protocols; #ifndef LWS_NO_EXTENSIONS - info.extensions = libwebsocket_internal_extensions; + info.extensions = libwebsocket_get_internal_extensions(); #endif if (use_ssl && !client) { info.ssl_cert_filepath = LOCAL_RESOURCE_PATH"/libwebsockets-test-server.pem";