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 7 years ago committed by GitHub
commit fd0fda5480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -599,7 +599,7 @@ OnProxy(connection_t *c, char *line)
} }
char cmd[128]; 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'; cmd[sizeof(cmd) - 1] = '\0';
ManagementCommand(c, cmd, NULL, regular); ManagementCommand(c, cmd, NULL, regular);

Loading…
Cancel
Save