]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/dns-domain.c
dns-domain: change error codes when dealing with too short buffers to ENOBUFS
authorLennart Poettering <lennart@poettering.net>
Mon, 30 Nov 2015 18:40:20 +0000 (19:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 30 Nov 2015 18:42:35 +0000 (19:42 +0100)
commit37ade1283745f39e3fa37aa2603809fb2daf067c
tree203d88cf9e867abe212ae9ac6020a444022eab86
parent50dee79bfbe0782a342ef864b28d7d6613c0b1fb
dns-domain: change error codes when dealing with too short buffers to ENOBUFS

Some calls used ENOBUFS to indicate too-short result buffers, others
used ENOSPC. Let's unify this on ENOBUFS.
src/shared/dns-domain.c
src/test/test-dns-domain.c