comparison src/director/director-connection.c @ 17259:6269063f8408

director: Fixed handling weak users when there were exactly 2 director servers in the ring.
author Timo Sirainen <tss@iki.fi>
date Wed, 23 Apr 2014 23:26:49 +0300
parents add8c00fb3cc
children 64808a9703db
comparison
equal deleted inserted replaced
17258:45bedf335e92 17259:6269063f8408
797 host, ioloop_time, weak, &user) || 797 host, ioloop_time, weak, &user) ||
798 weak_forward) { 798 weak_forward) {
799 if (!user->weak) 799 if (!user->weak)
800 director_update_user(conn->dir, src_host, user); 800 director_update_user(conn->dir, src_host, user);
801 else { 801 else {
802 director_update_user_weak(conn->dir, src_host, 802 director_update_user_weak(conn->dir, src_host, conn,
803 dir_host, user); 803 dir_host, user);
804 } 804 }
805 } 805 }
806 return TRUE; 806 return TRUE;
807 } 807 }