diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-30 16:36:56 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-30 16:36:56 +0000 |
commit | 1cc2e2af85f5c19b614ae7ed156b1569c39daf20 (patch) | |
tree | 9a6f20bcc73f09452df8a5212571a9a8c2807f01 | |
parent | e790e51703fa8b159f2b5920c0720faa7ad74475 (diff) | |
download | busybox-w32-1cc2e2af85f5c19b614ae7ed156b1569c39daf20.tar.gz busybox-w32-1cc2e2af85f5c19b614ae7ed156b1569c39daf20.tar.bz2 busybox-w32-1cc2e2af85f5c19b614ae7ed156b1569c39daf20.zip |
This kind of paranoia is a debug option at best.
git-svn-id: svn://busybox.net/trunk/busybox@15558 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | libbb/xfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 432fd6079..684d0a4fb 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -80,7 +80,7 @@ char * bb_xstrndup (const char *s, int n) | |||
80 | { | 80 | { |
81 | char *t; | 81 | char *t; |
82 | 82 | ||
83 | if (s == NULL) | 83 | if (ENABLE_DEBUG && s == NULL) |
84 | bb_error_msg_and_die("bb_xstrndup bug"); | 84 | bb_error_msg_and_die("bb_xstrndup bug"); |
85 | 85 | ||
86 | t = xmalloc(++n); | 86 | t = xmalloc(++n); |