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.20 by root, Tue Jan 17 15:17:39 2006 UTC

39 client (); 39 client ();
40}; 40};
41 41
42client::client () 42client::client ()
43{ 43{
44 if ((fd = socket (PF_UNIX, SOCK_STREAM, 0)) < 0) 44 if ((fd = socket (AF_UNIX, SOCK_STREAM, 0)) < 0)
45 { 45 {
46 perror ("unable to create communications socket"); 46 perror ("unable to create communications socket");
47 exit (EXIT_FAILURE); 47 exit (EXIT_FAILURE);
48 } 48 }
49 49
119 } 119 }
120 } 120 }
121 else if (!strcmp (tok, "END")) 121 else if (!strcmp (tok, "END"))
122 { 122 {
123 int success; 123 int success;
124
124 if (c.recv (success)) 125 if (c.recv (success))
125 exit (success ? EXIT_SUCCESS : EXIT_FAILURE); 126 exit (success ? EXIT_SUCCESS : EXIT_FAILURE);
126 } 127 }
127 else 128 else
128 { 129 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines