]> rtime.felk.cvut.cz Git - frescor/fwp.git/blobdiff - fwp/lib/frsh_fwp/fwp_fna.c
Remove unused flags parameter of fwp_send()
[frescor/fwp.git] / fwp / lib / frsh_fwp / fwp_fna.c
index 1c9a7e8e868340b76b4ae029cc15d25354fb16ee..e26dd26504e43a026f20ae661e6427ff944be0bb 100644 (file)
@@ -141,20 +141,18 @@ int fwp_fna_send(const fna_endpoint_data_t *endpoint, const void *msg,
                        const size_t size)
 {
        fwp_endpoint_t *fwp_epoint;
-       int flags = 0;
 
        fwp_epoint = endpoint->protocol_info.body;
-       return fwp_send(fwp_epoint, msg, size, flags);
+       return fwp_send(fwp_epoint, msg, size);
 }
 
 int fwp_fna_send_sync(const fna_endpoint_data_t *endpoint, const void *msg, 
                        const size_t size)
 {
        fwp_endpoint_t *fwp_epoint;
-       int flags = 0;
 
        fwp_epoint = endpoint->protocol_info.body;
-       return fwp_send(fwp_epoint, msg, size, flags);
+       return fwp_send(fwp_epoint, msg, size);
 }
 
 int fwp_fna_send_async(const fna_endpoint_data_t *endpoint,const void *msg,
@@ -162,8 +160,8 @@ int fwp_fna_send_async(const fna_endpoint_data_t *endpoint,const void *msg,
 {
        fwp_endpoint_t *fwp_epoint;
 
-       fwp_epoint = (fwp_endpoint_t*) endpoint->protocol_info.body;
-       return fwp_send(fwp_epoint, msg, size, MSG_DONTWAIT);
+       fwp_epoint = (fwp_endpoint_t*) endpoint->protocol_info.body;    
+       return fwp_send(fwp_epoint, msg, size); /* FIXME */
 }
 
 /** FNA receive routines */