~ft/xmpp

d88eb3a20c49c9d1678847c79a2cc6025ad830da — Sigrid Solveig Haflínudóttir 1 year, 8 months ago fe934ff
use %q for server and user
1 files changed, 1 insertions(+), 1 deletions(-)

M xmpp.c
M xmpp.c => xmpp.c +1 -1
@@ 494,7 494,7 @@ threadmain(int argc, char **argv)
		mydomain = strdup(mydomain);
	srand(time(nil));

	up = auth_getuserpasswd(auth_getkey, "proto=pass service=xmpp server=%s user=%s", server, user);
	up = auth_getuserpasswd(auth_getkey, "proto=pass service=xmpp server=%q user=%q", server, user);
	if(up == nil)
		sysfatal("no password: %r");