src/mn-slaved/client.c
static int
send_config(int sock)
{
    char out[64];
    int  len;
    len = sprintf(out, "CONFIG %d\n", srv.config_sz);
    if (send(sock, out, len, 0) <= 0)
        return -1;
    if (send(sock, srv.config_buf, srv.config_sz, 0) != srv.config_sz)
        return -1;

    return 0;
}
/* send the active configuration as received from the
 * master to the client, this must be done be anything else
 * is done */
send the active configuration as received from the
master to the client, this must be done be anything else
is done
send the active configuration as received from the master to the client this must be done be anything else is done
static int
send_config(int sock)
{
    char out[64];
    int  len;
    len = sprintf(out, "CONFIG %d\n", srv.config_sz);
    if (send(sock, out, len, 0) <= 0)
        return -1;
    if (send(sock, srv.config_buf, srv.config_sz, 0) != srv.config_sz)
        return -1;
    return 0;
}
static int send_config ( int sock ) { char out [ 64 ] ; int len ; len = sprintf ( out , " \n " , srv . config_sz ) ; if ( send ( sock , out , len , 0 ) <= 0 ) return -1 ; if ( send ( sock , srv . config_buf , srv . config_sz , 0 ) != srv . config_sz ) return -1 ; return 0 ; }
send the active configuration as received from the
 master to the client, this must be done be anything else
 is done
send the active configuration as received from the master to the client this must be done be anything else is done