update echo to use externsion getting api 95/3095/1
authorAndy Green <andy.green@linaro.org>
Wed, 13 Feb 2013 01:34:53 +0000 (09:34 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:35 +0000 (13:01 -0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
test-server/test-echo.c

index 2cfe1e3..d347b4e 100644 (file)
@@ -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";