Remove some spurious spaces in field selectors

This commit is contained in:
Gregory Nutt 2014-06-23 11:29:13 -06:00
parent 19c1bd3a45
commit f30cbd1bdf
1 changed files with 3 additions and 3 deletions

View File

@ -681,7 +681,7 @@ ssize_t tcpsend(FAR struct socket *psock, FAR const void *buf, size_t len,
save = uip_lock();
memset(&state, 0, sizeof(struct send_s));
(void)sem_init(&state. snd_sem, 0, 0); /* Doesn't really fail */
(void)sem_init(&state.snd_sem, 0, 0); /* Doesn't really fail */
state.snd_sock = psock; /* Socket descriptor to use */
state.snd_buflen = len; /* Number of bytes to send */
state.snd_buffer = buf; /* Buffer to send from */
@ -726,7 +726,7 @@ ssize_t tcpsend(FAR struct socket *psock, FAR const void *buf, size_t len,
* automatically re-enabled when the task restarts.
*/
ret = uip_lockedwait(&state. snd_sem);
ret = uip_lockedwait(&state.snd_sem);
/* Make sure that no further interrupts are processed */
@ -734,7 +734,7 @@ ssize_t tcpsend(FAR struct socket *psock, FAR const void *buf, size_t len,
}
}
sem_destroy(&state. snd_sem);
sem_destroy(&state.snd_sem);
uip_unlock(save);
/* Set the socket state to idle */