grosjo / fts-xapian

Dovecot FTS plugin based on Xapian
GNU Lesser General Public License v2.1
91 stars 19 forks source link

fix sentinel missing warning when compiling against dovecot 3.15 #92

Closed a16bitsysop closed 3 years ago

a16bitsysop commented 3 years ago

Without it I get:

In file included from fts-backend-xapian.cpp:64:
322fts-backend-xapian-functions.cpp: In function 'int fts_backend_xapian_set_path(xapian_fts_backend*)':
323fts-backend-xapian-functions.cpp:871:64: warning: missing sentinel in function call [-Wformat=]
324  871 |  backend->path = i_strconcat(path, "/" XAPIAN_FILE_PREFIX, NULL);
325      |                                                                ^