[fossology/fossology] 77b093: refac(wget_agent): DBLoadGold: Use asprintf instea...


Andreas Reichel <noreply@...>
 

Branch: refs/heads/andreas/gcc8-wgetagent
Home: https://github.com/fossology/fossology
Commit: 77b0931276b0d7bb9eacdfaefad4aa1c472182ad
https://github.com/fossology/fossology/commit/77b0931276b0d7bb9eacdfaefad4aa1c472182ad
Author: Andreas J. Reichel <andreas.reichel@...>
Date: 2019-08-29 (Thu, 29 Aug 2019)

Changed paths:
M src/wget_agent/agent/wget_agent.c

Log Message:
-----------
refac(wget_agent): DBLoadGold: Use asprintf instead of s(n)printf

Also make code better readable

Signed-off-by: Andreas J. Reichel <andreas.reichel@...>


Commit: 4c16a3b8999b3e09beab0e835077812330bbbdf1
https://github.com/fossology/fossology/commit/4c16a3b8999b3e09beab0e835077812330bbbdf1
Author: Andreas J. Reichel <andreas.reichel@...>
Date: 2019-08-29 (Thu, 29 Aug 2019)

Changed paths:
M src/wget_agent/agent/wget_agent.c

Log Message:
-----------
refac(wget_agent): DBLoadGold Don't open file pipe before checking Fin

If Fin could not be opened, opening the pipe is senseless.

Signed-off-by: Andreas J. Reichel <andreas.reichel@...>


Compare: https://github.com/fossology/fossology/compare/a099bcd1ada0...4c16a3b8999b

Join fossology-commits@lists.fossology.org to automatically receive all group messages.