diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-23 00:23:09 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-23 00:23:09 +0000 |
commit | 628b834bba430077e9fc9848c69cabe4be1a5da5 (patch) | |
tree | 3b48b265c18fdfd88adc4d2de701324eb01b1e3d /TAO/utils | |
parent | d684ef92335832c81aecf9191cb91766dc2ff115 (diff) | |
download | ATCD-628b834bba430077e9fc9848c69cabe4be1a5da5.tar.gz |
ChangeLogTag:Tue Sep 22 19:18:36 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/utils')
-rw-r--r-- | TAO/utils/IOR-parser/ior-handler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/utils/IOR-parser/ior-handler.cpp b/TAO/utils/IOR-parser/ior-handler.cpp index d8e1bf7bd28..dc6b1262c2c 100644 --- a/TAO/utils/IOR-parser/ior-handler.cpp +++ b/TAO/utils/IOR-parser/ior-handler.cpp @@ -28,6 +28,7 @@ IorHandler::hexChar2int (char thisChar) case 'e': return (14); case 'f': return (15); } + return -1; } u_long @@ -121,7 +122,7 @@ IorHandler::skipSpaceIfAny(char *readPtr, int *hexCharsRead) void IorHandler::skipNullOctets (char *readPtr, int *hexCharsRead, int expectingStr) { - char nullOctet[2]; + char nullOctet[4]; int offset; *hexCharsRead = 0; @@ -163,9 +164,7 @@ int IorHandler::findIfVisiIor(char *readPtr, int *hexCharsRead) { char nullOctet[2]; - char visiPreamble[6]; int offset; - int visiPreambleLen = 5; int hasVisiPreamble = 0; *hexCharsRead = 0; |