Thread (49 messages) 49 messages, 6 authors, 2016-06-15

Re: [PATCHv3 11/13] strbuf: add strbuf_add*_urlencode

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:52:36

Jeff King [off-list ref] writes:
+void strbuf_add_urlencode(struct strbuf *sb, const char *s, size_t len,
+			  int reserved)
+{
+	strbuf_grow(sb, len);
What is this `reserved` flag for, and when should one use it?
It would be nice to have a short comment...

BTW. was it meant to be aligned like this?
+void strbuf_add_urlencode(struct strbuf *sb, const char *s, size_t len,
+			     int reserved)

-- 
Jakub Narębski
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help