Skip to content
Snippets Groups Projects
Commit e8a1e958 authored by rswindell's avatar rswindell
Browse files

Fix build issue: lower-case enum name to sync with smbdefs.h.

parent c3ae3857
No related branches found
No related tags found
No related merge requests found
......@@ -2552,7 +2552,7 @@ BOOL DLLCALL can_user_post(scfg_t* cfg, uint subnum, user_t* user, client_t* cli
/* 'reason' is an (optional) pointer to a text.dat item number */
/* usernumber==0 for netmail */
/****************************************************************************/
BOOL DLLCALL can_user_send_mail(scfg_t* cfg, enum SMB_NET_TYPE net_type, uint usernumber, user_t* user, uint* reason)
BOOL DLLCALL can_user_send_mail(scfg_t* cfg, enum smb_net_type net_type, uint usernumber, user_t* user, uint* reason)
{
if(reason!=NULL)
*reason=R_Email;
......
......@@ -115,7 +115,7 @@ DLLEXPORT int DLLCALL user_rec_len(int offset);
DLLEXPORT BOOL DLLCALL can_user_access_sub(scfg_t* cfg, uint subnum, user_t* user, client_t* client);
DLLEXPORT BOOL DLLCALL can_user_read_sub(scfg_t* cfg, uint subnum, user_t* user, client_t* client);
DLLEXPORT BOOL DLLCALL can_user_post(scfg_t* cfg, uint subnum, user_t* user, client_t* client, uint* reason);
DLLEXPORT BOOL DLLCALL can_user_send_mail(scfg_t* cfg, enum SMB_NET_TYPE, uint usernumber, user_t* user, uint* reason);
DLLEXPORT BOOL DLLCALL can_user_send_mail(scfg_t* cfg, enum smb_net_type, uint usernumber, user_t* user, uint* reason);
DLLEXPORT BOOL DLLCALL is_user_subop(scfg_t* cfg, uint subnum, user_t* user, client_t* client);
DLLEXPORT BOOL DLLCALL is_download_free(scfg_t* cfg, uint dirnum, user_t* user, client_t* client);
DLLEXPORT BOOL DLLCALL filter_ip(scfg_t* cfg, const char* prot, const char* reason, const char* host
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment