Return fingerprint lookups through retval pointer, not struct
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 6 Sep 2012 09:53:05 +0000 (12:53 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 6 Sep 2012 09:53:05 +0000 (12:53 +0300)
commitcffdbc7aec75d4688f84d92609e823a9a38415c4
tree4266a05b1ec9e1cbf7976857c6d85a4c2bf94e14
parent1cbc2a14f2731a55e041253bcd9322407a9fd258
Return fingerprint lookups through retval pointer, not struct

- Returning structs by value is a bit icky, pass in a fp pointer
  for fpLookup() to fill in instead. This leaves the actual return code
  free for handling errors (but ignoring that for now as we always have)
  The other option would be always mallocing the return, and we dont
  want to do that...
- Shouldn't change any actual functionality.
lib/fprint.c
lib/fprint.h
lib/rpmdb.c
lib/transaction.c