diff --git a/examples/shared/dtlsconnection.c b/examples/shared/dtlsconnection.c index ac9bdb385..c71c601f2 100644 --- a/examples/shared/dtlsconnection.c +++ b/examples/shared/dtlsconnection.c @@ -471,7 +471,10 @@ dtls_connection_t * connection_create(dtls_connection_t * connList, { *(port - 1) = 0; } - return NULL; + else + { + return NULL; + } } // split strings *port = 0;