From f0012f5e8f9c23aceb261f79094f423d689efe93 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 12 Nov 2016 18:56:27 +0000 Subject: [PATCH] Fixed typo when parsing VOTING.DAT: we're looking for the sender net *address* not the sender net *type* (the net-type is passed-in). This did result in a crash when parsing a voting.dat that contained a networked vote. Oops. --- src/sbbs3/qwk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/qwk.cpp b/src/sbbs3/qwk.cpp index 47abf6c63e..cef46c6994 100644 --- a/src/sbbs3/qwk.cpp +++ b/src/sbbs3/qwk.cpp @@ -1038,7 +1038,7 @@ bool sbbs_t::qwk_voting(const char* fname, smb_net_type_t net_type) } if(net_type != NET_NONE) smb_hfield_netaddr(&msg - ,SENDERNETADDR, iniGetString(ini,votes[u], smb_hfieldtype(SENDERNETTYPE), NULL, NULL), &net_type); + ,SENDERNETADDR, iniGetString(ini,votes[u], smb_hfieldtype(SENDERNETADDR), NULL, NULL), &net_type); uint subnum = resolve_qwkconf(iniGetInteger(ini, votes[u], "Conference", 0)); if(subnum == INVALID_SUB) continue; -- GitLab