diff options
author | TingPing <tingping@tingping.se> | 2014-12-31 11:31:17 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-12-31 11:31:17 -0500 |
commit | 2a282893140c0e838a4750da80198d07e355acc6 (patch) | |
tree | c67c878dff398fc96c7a1b263257497f31546902 /src/common/outbound.c | |
parent | 112632bb4ecfc54dba6346c1a9c3af9861c6a74b (diff) |
Don't return 0 in place of NULL
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r-- | src/common/outbound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index 0df9c37c..fab573e4 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -1654,7 +1654,7 @@ memrchr (const void *block, int c, size_t size) for (p = (unsigned char *)block + size; p != block; p--) if (*p == c) return p; - return 0; + return NULL; } #endif |