ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtc.C
(Generate patch)

Comparing rxvt-unicode/src/rxvtc.C (file contents):
Revision 1.17 by root, Fri Dec 23 14:46:35 2005 UTC vs.
Revision 1.18 by root, Sat Dec 24 11:55:41 2005 UTC

108 fprintf (stderr, "protocol error: unexpected eof from server.\n"); 108 fprintf (stderr, "protocol error: unexpected eof from server.\n");
109 break; 109 break;
110 } 110 }
111 else if (!strcmp (tok, "MSG") && c.recv (tok)) 111 else if (!strcmp (tok, "MSG") && c.recv (tok))
112 fprintf (stderr, "%s", (const char *)tok); 112 fprintf (stderr, "%s", (const char *)tok);
113#if ENABLE_FRILLS && HAVE_UNIX_FDPASS
113 else if (!strcmp (tok, "GETFD") && c.recv (cint)) 114 else if (!strcmp (tok, "GETFD") && c.recv (cint))
114 { 115 {
115 if (rxvt_send_fd (c.fd, cint) < 0) 116 if (rxvt_send_fd (c.fd, cint) < 0)
116 { 117 {
117 fprintf (stderr, "unable to send fd %d: ", cint); perror (0); 118 fprintf (stderr, "unable to send fd %d: ", cint); perror (0);
118 exit (EXIT_FAILURE); 119 exit (EXIT_FAILURE);
119 } 120 }
120 } 121 }
122#endif
121 else if (!strcmp (tok, "END")) 123 else if (!strcmp (tok, "END"))
122 { 124 {
123 int success; 125 int success;
124 if (c.recv (success)) 126 if (c.recv (success))
125 exit (success ? EXIT_SUCCESS : EXIT_FAILURE); 127 exit (success ? EXIT_SUCCESS : EXIT_FAILURE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines