diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-02-15 20:23:50 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-02-17 08:28:53 +0100 |
commit | 4aae321f11e3087d4e4bf65f945e5800f1d4f2c5 (patch) | |
tree | 8adb8cac8ed6a397e304a343a6b962129647317f /src/tools/irm/irm_name.c | |
parent | 6d87e29bef2d2cd3c40e49b9120fae5148030381 (diff) | |
download | ouroboros-4aae321f11e3087d4e4bf65f945e5800f1d4f2c5.tar.gz ouroboros-4aae321f11e3087d4e4bf65f945e5800f1d4f2c5.zip |
irmd: Fix argvdup util function
The argvdup function didn't handle the case where argc is 0.
Small refactor that also handles this case correctly.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/irm/irm_name.c')
0 files changed, 0 insertions, 0 deletions