Mercurial > hg > sidinfo
comparison sidinfo.c @ 215:d0baac239f30
Be more informative about SLDB format.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 04 May 2019 02:56:22 +0300 |
parents | 98563979859b |
children | 55697860d4a7 |
comparison
equal
deleted
inserted
replaced
214:98563979859b | 215:d0baac239f30 |
---|---|
1286 THERR("Could not open SLDB '%s': %s\n", | 1286 THERR("Could not open SLDB '%s': %s\n", |
1287 setSLDBPath, th_error_str(ret)); | 1287 setSLDBPath, th_error_str(ret)); |
1288 goto err; | 1288 goto err; |
1289 } | 1289 } |
1290 | 1290 |
1291 THMSG(1, "Reading SLDB.\n"); | 1291 THMSG(1, "Reading SLDB (%s format [%s]): %s\n", |
1292 setSLDBNewFormat ? "new" : "old", | |
1293 setSLDBNewFormat ? ".md5" : ".txt", | |
1294 setSLDBPath); | |
1295 | |
1292 if ((sidSLDB = si_sldb_new()) == NULL) | 1296 if ((sidSLDB = si_sldb_new()) == NULL) |
1293 { | 1297 { |
1294 THERR("Could not allocate SLDB structure!\n"); | 1298 THERR("Could not allocate SLDB structure!\n"); |
1295 goto err; | 1299 goto err; |
1296 } | 1300 } |