gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libextractor] 19/27: need isspace, not isblank for rpm ext


From: gnunet
Subject: [GNUnet-SVN] [libextractor] 19/27: need isspace, not isblank for rpm extractor
Date: Sun, 15 Oct 2017 21:34:43 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libextractor.

commit f792c47a04c55c82f7ed66c727ebe96ccc99a473
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Oct 15 20:44:34 2017 +0200

    need isspace, not isblank for rpm extractor
---
 src/plugins/rpm_extractor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/rpm_extractor.c b/src/plugins/rpm_extractor.c
index ede82d52..21596d25 100644
--- 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,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]