commit | 09461b774c2f10078f969d9af19a2ef8adb96f4f | [log] [tgz] |
---|---|---|
author | Ryan Bloom <rbb@apache.org> | Sun Aug 25 04:22:36 2002 +0000 |
committer | Ryan Bloom <rbb@apache.org> | Sun Aug 25 04:22:36 2002 +0000 |
tree | df8ee4d214f1e267d514a416da04ad918a05b17b | |
parent | 70bdb23bb288df73c7b97851cabcfba076141aab [diff] |
If the length argument to apr_snprintf is 0, then we should return the length that the string would be if we actually were going to fill it out. However, if the length argument is 0, we can also accept a NULL string. Also, added a test case for this. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63829 13f79535-47bb-0310-9956-ffa450edef68