diff --git a/src/smblib/smbhash.c b/src/smblib/smbhash.c index b08e974eaf31a26ab723bf35a2506fb377d978e4..389d51a053242861d575eeeecb6d0d8bc2218a3e 100644 --- a/src/smblib/smbhash.c +++ b/src/smblib/smbhash.c @@ -355,7 +355,7 @@ uint16_t SMBCALL smb_subject_crc(const char* subj) uint16_t crc; if(subj==NULL) - return(0xffff); + return(0); while(!strnicmp(subj,"RE:",3)) { subj+=3; @@ -379,7 +379,7 @@ uint16_t SMBCALL smb_name_crc(const char* name) uint16_t crc; if(name==NULL) - return(0xffff); + return(0); if((str=strdup(name))==NULL) return(0xffff);