|
From: <kin...@us...> - 2025-09-28 08:51:03
|
Revision: 7510
http://sourceforge.net/p/teem/code/7510
Author: kindlmann
Date: 2025-09-28 08:50:07 +0000 (Sun, 28 Sep 2025)
Log Message:
-----------
fewer warnings
Modified Paths:
--------------
teem/trunk/src/hest/methodsHest.c
teem/trunk/src/hest/test/ex6.c
Modified: teem/trunk/src/hest/methodsHest.c
===================================================================
--- teem/trunk/src/hest/methodsHest.c 2025-09-28 08:49:41 UTC (rev 7509)
+++ teem/trunk/src/hest/methodsHest.c 2025-09-28 08:50:07 UTC (rev 7510)
@@ -165,7 +165,7 @@
if (ret) {
if (strlen(myerr)) {
snprintf(hpp->err, AIR_STRLEN_HUGE + 1, "error parsing \"%s\" as %s:\n%s\n", str,
- hpp->CB->type, myerr);
+ hpp->CB->type, airStrtrunc(myerr, AIR_STRLEN_HUGE + 1, strlen(str) + strlen(hpp->CB->type) + 100));
} else {
snprintf(hpp->err, AIR_STRLEN_HUGE + 1,
"error parsing \"%s\" as %s: returned %d\n", str, hpp->CB->type, ret);
Modified: teem/trunk/src/hest/test/ex6.c
===================================================================
--- teem/trunk/src/hest/test/ex6.c 2025-09-28 08:49:41 UTC (rev 7509)
+++ teem/trunk/src/hest/test/ex6.c 2025-09-28 08:50:07 UTC (rev 7510)
@@ -84,7 +84,7 @@
hparm->respectDashDashHelp = AIR_TRUE;
hparm->noArgsIsNoProblem = AIR_TRUE;
hparm->dieLessVerbose = AIR_TRUE;
- hparm->verbosity = 1;
+ hparm->verbosity = 0;
opt = NULL;
/* going past C89 to have declarations here */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|