Use sideband also for challenge response.
[paraslash.git] / vss.c
diff --git a/vss.c b/vss.c
index bfea37a191f8b90db60db720916eb37ebf900223..8f177bab56b90a221f4ac84b73e4c54971df4a0c 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -1136,7 +1136,7 @@ static void vss_post_select(struct sched *s, struct task *t)
                recv_afs_result(vsst, &s->rfds);
        else if (FD_ISSET(vsst->afs_socket, &s->wfds)) {
                PARA_NOTICE_LOG("requesting new fd from afs\n");
-               ret = send_buffer(vsst->afs_socket, "new");
+               ret = write_buffer(vsst->afs_socket, "new");
                if (ret < 0)
                        PARA_CRIT_LOG("%s\n", para_strerror(-ret));
                else