r2194 - in branches/1.2: . lib/libvarnishapi

des at projects.linpro.no des at projects.linpro.no
Tue Oct 30 11:48:51 CET 2007


Author: des
Date: 2007-10-30 11:48:51 +0100 (Tue, 30 Oct 2007)
New Revision: 2194

Modified:
   branches/1.2/
   branches/1.2/lib/libvarnishapi/shmlog.c
Log:
Merged revisions 2180,2191-2192 via svnmerge from 
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache

........
  r2180 | phk | 2007-10-29 09:24:04 +0100 (Mon, 29 Oct 2007) | 2 lines
  
  Mask negative characters to 8 bit before formatting.
........



Property changes on: branches/1.2
___________________________________________________________________
Name: svnmerge-integrated
   - /trunk/varnish-cache:1-2101,2104-2107,2115-2120,2122-2130,2133,2151,2153-2154,2157,2161-2162,2175-2176
   + /trunk/varnish-cache:1-2101,2104-2107,2115-2120,2122-2130,2133,2151,2153-2154,2157,2161-2162,2175-2176,2180,2191-2192

Modified: branches/1.2/lib/libvarnishapi/shmlog.c
===================================================================
--- branches/1.2/lib/libvarnishapi/shmlog.c	2007-10-30 10:48:30 UTC (rev 2193)
+++ branches/1.2/lib/libvarnishapi/shmlog.c	2007-10-30 10:48:51 UTC (rev 2194)
@@ -353,7 +353,7 @@
 			if (*ptr >= ' ' && *ptr <= '~')
 				fprintf(fo, "%c", *ptr);
 			else
-				fprintf(fo, "%%%02x", *ptr);
+				fprintf(fo, "%%%02x", (*ptr) & 0xff);
 			ptr++;
 		}
 		fprintf(fo, "\"\n");




More information about the varnish-commit mailing list