Mercurial > pidgin
view libpurple/protocols/zephyr/ZSetSrv.c @ 15920:d7feace39800
Fix some reads of invalid memory when shutting down bonjour when there
are bonjour buddies in your buddy list. We were iterating through the
blist and removing people as we go, which meant we were deleting
bnode and then trying to access bnode->next
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 25 Mar 2007 17:04:27 +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); }