strbuf: make strbuf_pushchars() a little less dumb
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 Oct 2014 00:39:33 +0000 (21:39 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 Oct 2014 00:39:33 +0000 (21:39 -0300)
commite62d8c725b73cc03efc01df59bf5cc5a5fa31b5d
treea46c84200601b45f3598cdb6a0d64bdd32a681d4
parent8863154e446d6b60ff6afd6572ce5d9c9651a59c
strbuf: make strbuf_pushchars() a little less dumb

Do not push one char at a time. We have strlen() and memcpy() to rely
on.
shared/strbuf.c