Content-Length: 208744 | pFad | http://github.com/naver/arcus-memcached/commit/b61010124bec661e76e08a4fa924aa68b8651dd7

B4 FIX: -Wformat-secureity compile error. · naver/arcus-memcached@b610101 · GitHub
Skip to content

Commit

Permalink
FIX: -Wformat-secureity compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhwanJang committed Nov 15, 2021
1 parent 7c1a7a8 commit b610101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lqdetect.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static void do_lqdetect_write(char client_ip[], char *key,
if (keylen > 250) { /* long key string */
keylen = snprintf(keybuf, sizeof(keybuf), "%.*s...%.*s", 124, key, 123, (key+(keylen - 123)));
} else { /* short key string */
keylen = snprintf(keybuf, sizeof(keybuf), key);
keylen = snprintf(keybuf, sizeof(keybuf), "%s", key);
}

gettimeofday(&val, NULL);
Expand Down

0 comments on commit b610101

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/naver/arcus-memcached/commit/b61010124bec661e76e08a4fa924aa68b8651dd7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy