diff src/core/ngx_inet.c @ 6509:7640d6c213e1

Removed redundant "u" format specifier. It is implied for "x" and "X".
author Ruslan Ermilov <ru@nginx.com>
date Fri, 08 Apr 2016 15:03:38 +0300
parents 40bea39731d7
children b358d670c654 70539dd7abe5
line wrap: on
line diff
--- a/src/core/ngx_inet.c
+++ b/src/core/ngx_inet.c
@@ -348,7 +348,7 @@ ngx_inet6_ntop(u_char *p, u_char *text, 
             continue;
         }
 
-        dst = ngx_sprintf(dst, "%uxd", p[i] * 256 + p[i + 1]);
+        dst = ngx_sprintf(dst, "%xd", p[i] * 256 + p[i + 1]);
 
         if (i < 14) {
             *dst++ = ':';