Minor fix - variable declarations first

This commit is contained in:
Ron Pedde 2004-11-20 17:58:24 +00:00
parent cbbddc5750
commit 70024cb3e1
1 changed files with 1 additions and 1 deletions

View File

@ -934,9 +934,9 @@ void *ws_dispatcher(void *arg) {
*/ */
int ws_writefd(WS_CONNINFO *pwsc, char *fmt, ...) { int ws_writefd(WS_CONNINFO *pwsc, char *fmt, ...) {
char buffer[1024]; char buffer[1024];
va_list ap;
DPRINTF(E_SPAM,L_WS,"Entering ws_writefd\n"); DPRINTF(E_SPAM,L_WS,"Entering ws_writefd\n");
va_list ap;
va_start(ap, fmt); va_start(ap, fmt);
vsnprintf(buffer, 1024, fmt, ap); vsnprintf(buffer, 1024, fmt, ap);