- Fixed restconf http/1 only compile errors

This commit is contained in:
Olof hagsand 2022-02-15 09:31:32 +01:00
parent 82e0d907b3
commit c006c6189d

View file

@ -704,6 +704,7 @@ restconf_http1(restconf_conn *rc,
} }
#endif #endif
#ifdef HAVE_LIBNGHTTP2
static int static int
restconf_http2_upgrade(restconf_conn *rc) restconf_http2_upgrade(restconf_conn *rc)
{ {
@ -803,6 +804,7 @@ restconf_http2(restconf_conn *rc,
done: done:
return retval; return retval;
} }
#endif /* HAVE_LIBNGHTTP2 */
/*! New data connection after accept, receive and reply on data socket /*! New data connection after accept, receive and reply on data socket
* *