Merge pull request #151 from chipitsine/silence_mingw

change "%S" to "%ls" to silence mingw warning

Acked-by: Selva Nair <selva.nair@gmail.com>
pull/196/head
Selva Nair 2017-11-18 21:58:05 -05:00 committed by GitHub
commit fd0fda5480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ OnProxy(connection_t *c, char *line)
}
char cmd[128];
snprintf(cmd, sizeof(cmd), "proxy %s %S %S", type, addr, port);
snprintf(cmd, sizeof(cmd), "proxy %s %ls %ls", type, addr, port);
cmd[sizeof(cmd) - 1] = '\0';
ManagementCommand(c, cmd, NULL, regular);