[xorg-commit-diffs] xc/programs/xstls xstls.c,1.1.4.3,1.1.4.4
Jay Hobson
xorg-commit at pdx.freedesktop.org
Wed Apr 14 14:44:13 PDT 2004
Committed by: jhobson
Update of /cvs/xorg/xc/programs/xstls
In directory pdx:/tmp/cvs-serv4096
Modified Files:
Tag: XORG-RELEASE-1-STSF
xstls.c
Log Message:
Call to find out if particular error message is received. We want to
ignore ST_NAME_NOT_FOUND errors.
Index: xstls.c
===================================================================
RCS file: /cvs/xorg/xc/programs/xstls/Attic/xstls.c,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -d -r1.1.4.3 -r1.1.4.4
--- a/xstls.c 14 Apr 2004 21:09:15 -0000 1.1.4.3
+++ b/xstls.c 14 Apr 2004 21:44:10 -0000 1.1.4.4
@@ -78,7 +78,7 @@
/*
* Ignore Name not found errors since they are common
*/
- if ( rep->error_code == 45 )
+ if ( XSTErrorIsErrorCode ( dpy, rep->error_code, ST_NAME_NOT_FOUND ))
return 0;
else if ( rep->error_code == 51 )
return 0;
More information about the xorg-commit-diffs
mailing list