From b128f2a43a16acef50de045ae6526772c04c395e Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 4 Mar 2025 22:46:52 +0000 Subject: New upstream version 6.0.24.66+repack --- HTTPcode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'HTTPcode.c') diff --git a/HTTPcode.c b/HTTPcode.c index f3f0d22..245ab3d 100644 --- a/HTTPcode.c +++ b/HTTPcode.c @@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public License along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses */ + //#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #define _CRT_SECURE_NO_DEPRECATE @@ -4379,7 +4380,7 @@ int ProcessMailAPISignon(struct TCPINFO * TCP, char * MsgPtr, char * Appl, char if (user && user[0] && password && password[0]) { - sprintf(MsgPtr, "%s?%s&%s", MsgPtr, user, password); + sprintf(&MsgPtr[strlen(MsgPtr)], "?%s&%s", user, password); } } -- cgit v1.2.3