about summary refs log tree commit diff
path: root/converter/pbm
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-05-30 21:22:55 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-05-30 21:22:55 +0000
commitc268270f972136a46650325c2c06b479493740ba (patch)
tree6d5c0bb9f74ad43d8bce0d8c3227f4b99ef308af /converter/pbm
parentd9d3f9a83349ecc6a4c7af941aa5f0f240240fac (diff)
downloadnetpbm-mirror-c268270f972136a46650325c2c06b479493740ba.tar.gz
netpbm-mirror-c268270f972136a46650325c2c06b479493740ba.tar.xz
netpbm-mirror-c268270f972136a46650325c2c06b479493740ba.zip
Fix -protocol: change OPT_UINT to OPT_STRING
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2534 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm')
-rw-r--r--converter/pbm/pbmtoepson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/pbm/pbmtoepson.c b/converter/pbm/pbmtoepson.c
index 762c6858..8e9d75a9 100644
--- a/converter/pbm/pbmtoepson.c
+++ b/converter/pbm/pbmtoepson.c
@@ -69,7 +69,7 @@ parseCommandLine(int                 argc,
     MALLOCARRAY_NOFAIL(option_def, 100);
 
     option_def_index = 0;   /* incremented by OPTENT3 */
-    OPTENT3(0, "protocol",   OPT_UINT,   &protocol,
+    OPTENT3(0, "protocol",   OPT_STRING,   &protocol,
             &protocolSpec,                    0);
     OPTENT3(0, "dpi",        OPT_UINT,   &cmdlineP->dpi,
             &dpiSpec,                    0);