Browse Source

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

proxy.c:602:32: warning: ISO C does not support the ‘%S’ ms_printf format [-Wformat=]
pull/151/head
Ilya Shipitsin 8 years ago
parent
commit
da6ed23618
  1. 2
      proxy.c

2
proxy.c

@ -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);

Loading…
Cancel
Save