• Bastien Nocera's avatar
    daap: Fix build warning · 1fee697f
    Bastien Nocera authored
    Replace strncpy with memcpy to avoid adding a NUL-byte in the string.
    
    rhythmbox/plugins/daap/rb-daap-src.c: In function ‘rb_daap_src_change_state’:
    rhythmbox/plugins/daap/rb-daap-src.c:286:4: error: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation]
        strncpy (httpuri, http, 4);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
    1fee697f
Name
Last commit
Last update
..
Makefile.am Loading commit data...
daap-prefs.ui Loading commit data...
daap-toolbar.ui Loading commit data...
daap.gresource.xml Loading commit data...
daap.plugin.in Loading commit data...
rb-daap-container-record.c Loading commit data...
rb-daap-container-record.h Loading commit data...
rb-daap-plugin.c Loading commit data...
rb-daap-plugin.h Loading commit data...
rb-daap-record-factory.c Loading commit data...
rb-daap-record-factory.h Loading commit data...
rb-daap-record.c Loading commit data...
rb-daap-record.h Loading commit data...
rb-daap-sharing.c Loading commit data...
rb-daap-sharing.h Loading commit data...
rb-daap-source.c Loading commit data...
rb-daap-source.h Loading commit data...
rb-daap-src.c Loading commit data...
rb-daap-src.h Loading commit data...
rb-dacp-pairing-page.c Loading commit data...
rb-dacp-pairing-page.h Loading commit data...
rb-dacp-player.c Loading commit data...
rb-dacp-player.h Loading commit data...
rb-dmap-container-db-adapter.c Loading commit data...
rb-dmap-container-db-adapter.h Loading commit data...
rb-rhythmdb-dmap-db-adapter.c Loading commit data...
rb-rhythmdb-dmap-db-adapter.h Loading commit data...
rb-rhythmdb-query-model-dmap-db-adapter.c Loading commit data...
rb-rhythmdb-query-model-dmap-db-adapter.h Loading commit data...