exit(EXIT_FAILURE);
}
}
- if (mmd->sender_cmd_data.cmd_num >= 0) {
- int num = mmd->sender_cmd_data.cmd_num,
- s = mmd->sender_cmd_data.sender_num;
-
- if (senders[s].client_cmds[num])
- senders[s].client_cmds[num](&mmd->sender_cmd_data);
- mmd->sender_cmd_data.cmd_num = -1;
- }
if (!FD_ISSET(sockfd, &rfds))
goto repeat;
{
int ret, i;
+ if (mmd->sender_cmd_data.cmd_num >= 0) {
+ int num = mmd->sender_cmd_data.cmd_num,
+ s = mmd->sender_cmd_data.sender_num;
+
+ if (senders[s].client_cmds[num])
+ senders[s].client_cmds[num](&mmd->sender_cmd_data);
+ mmd->sender_cmd_data.cmd_num = -1;
+ }
if (afsss != AFS_SOCKET_CHECK_FOR_WRITE) {
if (FD_ISSET(afs_socket, rfds))
recv_afs_result();