Deleted Added
full compact
ctl_transact.c (1591) ctl_transact.c (8874)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 76 unchanged lines hidden (view full) ---

85 nready = select(32, &read_mask, 0, 0, &wait);
86 if (nready < 0) {
87 if (errno == EINTR)
88 continue;
89 p_error("Error waiting for daemon response");
90 }
91 } while (nready == 0);
92 /*
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 76 unchanged lines hidden (view full) ---

85 nready = select(32, &read_mask, 0, 0, &wait);
86 if (nready < 0) {
87 if (errno == EINTR)
88 continue;
89 p_error("Error waiting for daemon response");
90 }
91 } while (nready == 0);
92 /*
93 * Keep reading while there are queued messages
93 * Keep reading while there are queued messages
94 * (this is not necessary, it just saves extra
95 * request/acknowledgements being sent)
96 */
97 do {
98 cc = recv(ctl_sockt, (char *)rp, sizeof (*rp), 0);
99 if (cc < 0) {
100 if (errno == EINTR)
101 continue;

--- 12 unchanged lines hidden ---
94 * (this is not necessary, it just saves extra
95 * request/acknowledgements being sent)
96 */
97 do {
98 cc = recv(ctl_sockt, (char *)rp, sizeof (*rp), 0);
99 if (cc < 0) {
100 if (errno == EINTR)
101 continue;

--- 12 unchanged lines hidden ---