r22531 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22530‎ | r22531 | r22532 >
Date:08:03, 29 May 2007
Author:river
Status:old
Tags:
Comment:
add_alias() was broken, caused "alias" config direction not to work
Modified paths:
  • /trunk/tools/tsutils/watcherd/watcherd.c (modified) (history)

Diff [purge]

Index: trunk/tools/tsutils/watcherd/watcherd.c
@@ -420,7 +420,7 @@
421421 a->alias = strdup(alias);
422422 a->user = strdup(user);
423423 a->next = aliaslist.next;
424 - aliaslist.next = a->next;
 424+ aliaslist.next = a;
425425 }
426426
427427 static char const *