view src/protocols/zephyr/ZSetFD.c @ 8533:ef3d81aa663a

[gaim-migrate @ 9272] " This patch marks up outgoing links in Yahoo so that the URL is linked instead of the description (as was happening before). It sort-of fixes SimGuy bug #24 - not by disabling the insert link button, but by formatting links such that the link is usable by the recipient. A GAIM_CONNECTION_NO_URLDESCRIPTION connection flag might be useful so we don't bother asking for a description if the protocol (eg. MSN, Yahoo & Zephyr) doesn't support it in links, but I'll leave that for another day, another patch." --Stu Tomlinson committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 31 Mar 2004 03:10:37 +0000
parents 424a40f12a6c
children 43d6c08d7e96
line wrap: on
line source

/* This file is part of the Project Athena Zephyr Notification System.
 * It contains source for the ZSetFD function.
 *
 *	Created by:	Robert French
 *
 *	$Source$
 *	$Author: warmenhoven $
 *
 *	Copyright (c) 1987 by the Massachusetts Institute of Technology.
 *	For copying and distribution information, see the file
 *	"mit-copyright.h". 
 */
/* $Header$ */

#ifndef lint
static char rcsid_ZSetFD_c[] = "$Header$";
#endif

#include <internal.h>

Code_t ZSetFD(fd)
	int	fd;
{
	(void) ZClosePort();

	__Zephyr_fd = fd;
	__Zephyr_open = 0;
	
	return (ZERR_NONE);
}