diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-02 14:03:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-02 14:07:01 -0400 |
commit | 07656d70ed3bd71fa1eec229c823187864494e9c (patch) | |
tree | ec91385bb71c5d740397f4f08e8f355fbdfff158 /src/or/main.c | |
parent | 5e096b677097a24a2ab72385cd9b87b148fd5b62 (diff) | |
download | tor-07656d70ed3bd71fa1eec229c823187864494e9c.tar.gz tor-07656d70ed3bd71fa1eec229c823187864494e9c.zip |
Add a PID_T_FORMAT for writing pids to logs
This is based on code by yayooo for 7260, but:
- It allows for SIZEOF_PID_T == SIZEOF_SHORT
- It addresses some additional cases where we weren't getting any
warnings only because we were casting pid_t to int.
Diffstat (limited to 'src/or/main.c')
0 files changed, 0 insertions, 0 deletions