src/mn-masterd/auth.c
static int
send_config(int sock)
{
    int  sz;
    char buf[64];

    sz = sprintf(buf, "CONFIG %d\n", srv.config_sz);
    if (send(sock, buf, sz, 0) > 0 && 
        send(sock, srv.config_buf, srv.config_sz, 0) > 0)
        return 0;

    return -1;
}
/** 
 * send the active configuration to the given sock,
 * used to send the configuration to connected 
 * slaves.
 *
 * return 0 on success
 **/
send the active configuration to the given sock,
used to send the configuration to connected
slaves.

return 0 on success
send the active configuration to the given sock used to send the configuration to connected slaves . return 0 on success
static int
send_config(int sock)
{
    int  sz;
    char buf[64];
    sz = sprintf(buf, "CONFIG %d\n", srv.config_sz);
    if (send(sock, buf, sz, 0) > 0 && 
        send(sock, srv.config_buf, srv.config_sz, 0) > 0)
        return 0;
    return -1;
}
static int send_config ( int sock ) { int sz ; char buf [ 64 ] ; sz = sprintf ( buf , " \n " , srv . config_sz ) ; if ( send ( sock , buf , sz , 0 ) > 0 && send ( sock , srv . config_buf , srv . config_sz , 0 ) > 0 ) return 0 ; return -1 ; }
send the active configuration to the given sock,
 used to send the configuration to connected
 slaves.
send the active configuration to the given sock used to send the configuration to connected slaves .