author | Mikael Berthe <mikael@lilotux.net> |
Tue, 06 Sep 2005 21:49:27 +0200 | |
changeset 427 | ac85ce87f539 |
parent 426 | 2706ef3e25a7 |
child 428 | 4470868f90e5 |
--- a/mcabber/connwrap/connwrap.c Mon Sep 05 22:56:57 2005 +0200 +++ b/mcabber/connwrap/connwrap.c Tue Sep 06 21:49:27 2005 +0200 @@ -151,7 +151,7 @@ char *b; SOCKOUT("Proxy-Authorization: Basic "); - sprintf(buf, "%s:%s", proxyuser, proxypass); + snprintf(buf, sizeof(buf), "%s:%s", proxyuser, proxypass); b = cw_base64_encode(buf); SOCKOUT(b); free(b);