File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
22This file is part of libspnav, part of the spacenav project (spacenav.sf.net)
3- Copyright (C) 2007-2010 John Tsiombikas <nuclear@member.fsf.org>
3+ Copyright (C) 2007-2020 John Tsiombikas <nuclear@member.fsf.org>
44
55Redistribution and use in source and binary forms, with or without
66modification, are permitted provided that the following conditions are met:
@@ -96,7 +96,6 @@ int spnav_open(void)
9696
9797
9898 if (connect (s , (struct sockaddr * )& addr , sizeof addr ) == -1 ) {
99- perror ("connect failed" );
10099 close (s );
101100 return -1 ;
102101 }
@@ -557,7 +556,7 @@ int catch_badwin(Display *dpy, XErrorEvent *err)
557556 /* do nothing? */
558557 } else {
559558 XGetErrorText (dpy , err -> error_code , buf , sizeof buf );
560- fprintf (stderr , "Caught unexpected X error: %s\n" , buf );
559+ fprintf (stderr , "libspnav: caught unexpected X error: %s\n" , buf );
561560 }
562561 return 0 ;
563562}
You can’t perform that action at this time.
0 commit comments