Fix compiler warning in scanimage frontend
The debian-10-mini
build contains the following warning:
CC scanimage.o
scanimage.c: In function 'auth_callback':
scanimage.c:232:11: warning: 'strncpy' output may be truncated copying between 0 and 127 bytes from a string of length 386 [-Wstringop-truncation]
strncpy (username, tmp,
^~~~~~~~~~~~~~~~~~~~~~~
strchr (tmp, ':') - tmp);
~~~~~~~~~~~~~~~~~~~~~~~~
This should be fixed.
See also: #120 (closed)