diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-08 23:21:07 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-08 23:21:07 -0800 |
commit | d173bb6e0a13863e23c606f1454c35788b3a6cf6 (patch) | |
tree | 7ace61ece41660f3744eb4d606d6d85a09fdbec4 /io.cpp | |
parent | ce859c9e92cc50f9b4ff20edfec8e905c298d29a (diff) |
A bunch of changes working towards eliminating all memory allocation after fork()
Diffstat (limited to 'io.cpp')
-rw-r--r-- | io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ io_data_t *io_duplicate( io_data_t *l ) io_data_t *io_get( io_data_t *io, int fd ) { - if( io == 0 ) + if( io == NULL ) return 0; io_data_t *res = io_get( io->next, fd ); |