src/server/safs/service.c

changeset 94
6b15a094d996
parent 87
bdec069d2239
child 102
136a76e293b5
--- a/src/server/safs/service.c	Mon Sep 09 12:15:54 2013 +0200
+++ b/src/server/safs/service.c	Mon Oct 14 13:36:28 2013 +0200
@@ -86,7 +86,7 @@
 
     // add content-length header
     char contentLength[32];
-    int len = snprintf(contentLength, 32, "%lld", s->st_size);
+    int len = snprintf(contentLength, 32, "%jd", s->st_size);
 
     pblock_kvinsert(pb_key_content_length, contentLength, len, rq->srvhdrs);
 

mercurial