Browse Source

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