Project

General

Profile

« Previous | Next » 

Revision 8c9c7f12

Added by Nathan Scott over 13 years ago

  • ID 8c9c7f1209a5b51262c73932ef12a2c90d30610f

Encapsulate more of the client ID logic in library functions.

Will shortly add use of this API to pmevent, so wanted to make
its use simpler beforehand - instead of open-coding the logic
to flatten an argv array each time, add a helper and use it in
both existing callsites (pmlogger and pmie).

Correctly propogate out the return code from pmStore too, just
in case anyone ever wants to know (noone does at this stage) -
was always returning zero previously.

  • added
  • modified
  • copied
  • renamed
  • deleted