diff options
author | Dmitry Podgorny <pasis.ua@gmail.com> | 2012-11-18 01:51:01 +0200 |
---|---|---|
committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2012-11-18 01:51:01 +0200 |
commit | cf3d50f855a0ce3adf24d05121bc4c4b5c1910dc (patch) | |
tree | 883c150313aea30313d8293f341b462cbee94043 /src/chat_session.h | |
parent | 2fe5e7bd5914c3062e8f914492e4e745ab6b9a15 (diff) | |
download | profani-tty-cf3d50f855a0ce3adf24d05121bc4c4b5c1910dc.tar.gz |
command.c: replace strndup with strdup
Function strndup conforms to POSIX.1-2008 and MacOS doesn't have it. strndup doesn't make sense when a string is copied to the end. So replacing fixes incompatibility with MacOS and doesn't influence to execution.
Diffstat (limited to 'src/chat_session.h')
0 files changed, 0 insertions, 0 deletions