forked from ExternalVendorCode/Signal-Server
Minor bugfix in gzip decoder
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
SIGNAL SERVER CHANGELOG
|
SIGNAL SERVER CHANGELOG
|
||||||
|
|
||||||
|
3.21 Beta - 30 Jul 2019 - N9OZB Mods, minor fix
|
||||||
|
Fixed a minor bug in the Gzip decoding routines, gzerror() not coming back NULL?
|
||||||
|
|
||||||
3.20 Beta - 14 Jul 2019 - N9OZB Mods
|
3.20 Beta - 14 Jul 2019 - N9OZB Mods
|
||||||
1. Added .GZ (Gzip) file processing for .sdf.gz DEM tiles.
|
1. Added .GZ (Gzip) file processing for .sdf.gz DEM tiles.
|
||||||
|
@@ -1002,8 +1002,8 @@ char *GZfgets(char *output, gzFile gzfd, unsigned length)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (debug && errmsg != NULL) {
|
if (debug && (errmsg != NULL) && (gzerr != Z_OK && gzerr != Z_STREAM_END)) {
|
||||||
fprintf(stderr, "GZfgets: errmsg = [%s]\n", errmsg);
|
fprintf(stderr, "GZfgets: gzerr = %d, errmsg = [%s]\n", gzerr, errmsg);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
}
|
}
|
||||||
return (output);
|
return (output);
|
||||||
@@ -1127,8 +1127,8 @@ int LoadSDF_GZ(char *name)
|
|||||||
if (gzerr != Z_OK || pos == EOF)
|
if (gzerr != Z_OK || pos == EOF)
|
||||||
return -errno;
|
return -errno;
|
||||||
|
|
||||||
if (debug && errmsg != NULL) {
|
if (debug && (errmsg != NULL) && (gzerr != Z_OK && gzerr != Z_STREAM_END)) {
|
||||||
fprintf(stderr, "LoadSDF_GZ: errmsg = [%s]\n", errmsg);
|
fprintf(stderr, "LoadSDF_GZ: gzerr = %d, errmsg = [%s]\n", gzerr, errmsg);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
double version = 3.20;
|
double version = 3.21;
|
||||||
/****************************************************************************\
|
/****************************************************************************\
|
||||||
* Signal Server: Radio propagation simulator by Alex Farrant QCVS, 2E0TDW *
|
* Signal Server: Radio propagation simulator by Alex Farrant QCVS, 2E0TDW *
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
|
Reference in New Issue
Block a user