/pidgin/main: 73c2a7635d5b: Merged in kakaroto/main/release-2.x....
Gary Kramlich
grim at reaperworld.com
Mon Jul 18 00:33:09 EDT 2016
Changeset: 73c2a7635d5bb0ea4f27a1f313def9d57bba4d56
Author: Gary Kramlich <grim at reaperworld.com>
Date: 2016-07-09 16:48 -0500
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/73c2a7635d5b
Description:
Merged in kakaroto/main/release-2.x.y (pull request #90)
http: Use %.*s to debug print a non-null terminated string
diffstat:
libpurple/util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/libpurple/util.c b/libpurple/util.c
--- a/libpurple/util.c
+++ b/libpurple/util.c
@@ -4087,7 +4087,7 @@ url_fetch_send_cb(gpointer data, gint so
}
if(purple_debug_is_unsafe())
- purple_debug_misc("util", "Request: '%s'\n", gfud->request);
+ purple_debug_misc("util", "Request: '%.*s'\n", (int) gfud->request_len, gfud->request);
else
purple_debug_misc("util", "request constructed\n");
More information about the Commits
mailing list