Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commits (2)
......@@ -708,7 +708,7 @@ bool sbbs_t::pack_qwk(char *packet, ulong *msgcnt, bool prepack)
for(i=0;i<(uint)g.gl_pathc;i++) { /* Copy BLT-*.* files */
fname=getfname(g.gl_pathv[i]);
char* fext = getfext(fname);
if(IS_DIGIT(str[4]) && fext != NULL && IS_DIGIT(*(fext + 1))) {
if(IS_DIGIT(fname[4]) && fext != NULL && IS_DIGIT(*(fext + 1))) {
SAFEPRINTF2(str,"%sQWK/%s",cfg.text_dir,fname);
SAFEPRINTF2(path,"%s%s",cfg.temp_dir,fname);
mv(str,path,/* copy: */TRUE);
......
......@@ -69,7 +69,7 @@ int strListFind(const str_list_t list, const char* str, BOOL case_sensitive)
{
size_t i;
if(list==NULL)
if(list == NULL || str == NULL)
return -1;
for(i=0; list[i]!=NULL; i++) {
......