Cleanup + optimize doLookupId() a bit
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 14 Sep 2012 15:31:19 +0000 (18:31 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 14 Sep 2012 15:31:19 +0000 (18:31 +0300)
commitefa7b1dc0c4bfb260c799b612b5c362e4f47b1fd
tree7857e7bbd402298e3c2f4b422af12a4fd8dc3249
parent71287c81bd44dbd92001b3985798bdac0f1ff725
Cleanup + optimize doLookupId() a bit

- Eliminate redundant second strlen() on dirName on entry, and avoid
  the first one as well by grabbing the length from pool instead.
- Reorganize the initializations and declarations a bit for clarity.
lib/fprint.c