[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2002/06/20 20:28:32

Modified files:
	libexec/talkd  : talkd.c 

Log message:
o Use *_FILENO defines instead of numbers
o Kill sockt global, it is not needed
o Use STDOUT_FILENO as the 1st arg to sendto().

Previously we used sockt in sendto() which only worked because a) globals
are intialized to 0 and b) inetd sets up fds 0-2 dup'd to the same thing
so it didn't matter that we were sending to stdin, not stdout.