commit f792c47a04c55c82f7ed66c727ebe96ccc99a473
parent f675653eefe612dae726104914a2da451ea77077
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 15 Oct 2017 20:44:34 +0200
need isspace, not isblank for rpm extractor
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/rpm_extractor.c b/src/plugins/rpm_extractor.c
@@ -355,7 +355,7 @@ EXTRACTOR_rpm_extract_method (struct EXTRACTOR_ExtractContext *ec)
if (NULL == ctime_r (&tp, tmp))
break;
if ( (strlen (tmp) > 0) &&
- (isblank ((unsigned char) tmp[strlen(tmp)-1])) )
+ (isspace ((unsigned char) tmp[strlen(tmp)-1])) )
tmp[strlen (tmp) - 1] = '\0'; /* eat linefeed */
pthread_mutex_lock (&parg.lock);
if (0 != ec->proc (ec->cls,