clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
208 stars 70 forks source link

Avoid copying timeval onto stack #441

Closed pprindeville closed 1 year ago

pprindeville commented 1 year ago

Even though a struct timeval isn't a particularly large structure, it's a bad practice to pass structures by value as it's inefficient.

pprindeville commented 1 year ago

Failing because commit needs to be present in cligen as well...