null terminating snprintf

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10907 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2008-12-22 16:27:39 +00:00
parent d72a4ea77d
commit 6881efcf6c
4 changed files with 23 additions and 3 deletions
+2
View File
@@ -284,6 +284,8 @@ char *esl_url_decode(char *s);
const char *esl_stristr(const char *instr, const char *str);
int esl_toupper(int c);
int esl_tolower(int c);
int esl_snprintf(char *buffer, size_t count, const char *fmt, ...);
typedef void (*esl_listen_callback_t)(esl_socket_t server_sock, esl_socket_t client_sock, struct sockaddr_in addr);