drop_newlines: don't recalculate strlen(n)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>