- fix wrong pointer passed to userver_ref

git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@386 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
Ludwig Nussel 2002-11-20 11:38:10 +00:00 committed by l-n
parent effeb2d103
commit 1110312b3a
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Nov 20, 2002: Ludwig Nussel <l-n@users.sourceforge.net>
- fix wrong pointer passed to userver_ref
Nov 17, 2002: Jordi Mallach <jordi@sindominio.net>
- Initialize i18n for xqf-rcon.

View File

@ -237,7 +237,7 @@ static int parse_master_output (char *str, struct stat_conn *conn) {
if ((us = userver_add (addr, port, type)) != NULL)
// conn->uservers = userver_list_add (conn->uservers, us);
conn->uservers = g_slist_prepend (conn->uservers, us);
userver_ref(s);
userver_ref(us);
}
g_free (addr);
}