Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by fmela

12 years ago

I think you meant "va_end(ap);".

Created a pull request for you: https://github.com/antirez/sds/pull/8

2 comments

fmela

Reply

numeromancer  12 years ago

No, I'm pretty sure that `va_end(cpy)` is correct. `ap` is the `va_list` passed into the function. `cpy` is the local copy.

  • fmela  12 years ago

    You're right. Fixed.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities