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

Harmless change: Use NULL (instead of 0) for pointers.

parent 10795604
Branches
Tags
No related merge requests found
......@@ -818,14 +818,14 @@ void sbbs_t::qwksetptr(uint subnum, char *buf, int reset)
if(l>=0) /* ptr specified */
subscan[subnum].ptr=l;
else if(l) { /* relative ptr specified */
getlastmsg(subnum,&last,0);
getlastmsg(subnum,&last,/* time_t* */NULL);
if(-l>(long)last)
subscan[subnum].ptr=0;
else
subscan[subnum].ptr=last+l;
}
else if(reset)
getlastmsg(subnum,&(subscan[subnum].ptr),0);
getlastmsg(subnum,&(subscan[subnum].ptr),/* time_t* */NULL);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment