Skip to content

Commit 3f2872d

Browse files
committed
revert use rt_vsnprintf replace with vsnprintf
1 parent 9b45feb commit 3f2872d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wn_session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void webnet_session_printf(struct webnet_session *session, const char* fmt, ...)
158158
rt_uint32_t length;
159159

160160
va_start(args, fmt);
161-
length = rt_vsnprintf((char*)(session->buffer),
161+
length = vsnprintf((char*)(session->buffer),
162162
sizeof(session->buffer) - 1,
163163
fmt, args);
164164
session->buffer[length] = '\0';

0 commit comments

Comments
 (0)