diff options
| -rw-r--r-- | lib/Handle.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index 28c1086..6c3bbbd 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -216,7 +216,7 @@ void Handle::SetZ(int az) throw (GeneralException) {  	if (CanWrite()) {  	    format[index++] = 'w';  	} -	format[index++] = (char) (z + '0'); +	format[index++] = (char) (az + '0');  	format[index] = 0;  	cerr << "Performing gzdopen on handle " << h << " with mode \"" << format << "\"\n";  	if (!(zfile = gzdopen(h, format))) {  | 
