Module: sip-router Branch: master Commit: 1cf291af15d10160ca2bacedbb3d51817ed4286c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1cf291af...
Author: Henning Westerholt henning.westerholt@1und1.de Committer: Henning Westerholt henning.westerholt@1und1.de Date: Mon Sep 13 18:37:38 2010 +0200
pdbt: fix wrong help output and comment, reported from Mikko Lehto, mikko dot lehto at setera dot fi
---
utils/pdbt/pdbt.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/utils/pdbt/pdbt.c b/utils/pdbt/pdbt.c index 973e9d2..5cc5689 100644 --- a/utils/pdbt/pdbt.c +++ b/utils/pdbt/pdbt.c @@ -66,7 +66,7 @@ void print_usage(char *program) { LINFO(" -s <file>: Specifies the csv list.\n"); LINFO(" Use '-' as filename to read from stdin.\n"); LINFO(" Line format: <number prefix>;<carrier id>\n"); - LINFO(" Format of carrier id: D[0-9][0-9][0-9]\n"); + LINFO(" Format of carrier id: [0-9][0-9][0-9]\n"); LINFO(" -m <file>: Specifies the mmap image.\n"); LINFO(" -f <file>: Specifies the query file.\n"); LINFO(" Use '-' as filename to read from stdin.\n"); @@ -159,7 +159,7 @@ int file_query(char *filename, query_func_t query_func, void *data) { /* Read a csv list from the given file and build a dtree structure. Format of lines in csv file: "<number prefix>;<carrier id>". - Format of carrier id: "D[0-9][0-9][0-9]". + Format of carrier id: "[0-9][0-9][0-9]". Returns the number of lines imported or -1 on error. */ int import_csv(struct dt_node_t *root, char *filename) {