Minor performance tweak: replace a call to buffer_add()
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Sat, 14 Aug 2010 20:48:08 +0000 (20:48 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Sat, 14 Aug 2010 20:48:08 +0000 (20:48 +0000)
commit526ca545ef879e2923440978cb6bfb2c049f8b83
treebc2459b21aec909d22dc7687ca81790691b1c359
parent47d5c086a1cfba4b96344009afb43ad17b33cc82
Minor performance tweak: replace a call to buffer_add()
with a call to buffer_add_n().

In this case we already know how many characters to add,
so we can avoid a call to strlen().

M    src/libopensrf/osrf_prefork.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2002 9efc2488-bf62-4759-914b-345cdb29e865
src/libopensrf/osrf_prefork.c