Skip to content
Snippets Groups Projects
Commit 419740b9 authored by deuce's avatar deuce
Browse files

Fix return types.

parent 136a065b
Branches
Tags
No related merge requests found
...@@ -37,14 +37,14 @@ ...@@ -37,14 +37,14 @@
#include "sbbs.h" #include "sbbs.h"
static msg_number(smbmsg_t* msg) static uint32_t msg_number(smbmsg_t* msg)
{ {
if(msg->idx.number) if(msg->idx.number)
return(msg->idx.number); return(msg->idx.number);
return(msg->hdr.number); return(msg->hdr.number);
} }
static msg_time(smbmsg_t* msg) static uint32_t msg_time(smbmsg_t* msg)
{ {
if(msg->idx.time) if(msg->idx.time)
return(msg->idx.time); return(msg->idx.time);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment