view libpurple/protocols/zephyr/ZSetSrv.c @ 26920:c9ac5cc1e46c

Fix a crash when <NICKNAME/> is present in a vcard, but has no data. Fixes MacinEnterprise's crash on Adium#12053 (unrelated to the rest of the ticket).
author Paul Aurich <paul@darkrain42.org>
date Wed, 20 May 2009 15:59:04 +0000
parents 5fe8042783c1
children a8cc50c2279f
line wrap: on
line source

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

#include "internal.h"

Code_t ZSetServerState(state)
	int	state;
{
	__Zephyr_server = state;
	
	return (ZERR_NONE);
}