dtinfo subdirectory DtMmdb

This commit is contained in:
Ulrich Wilkens
2013-08-28 19:16:37 +02:00
committed by Jon Trulson
parent 0be684281d
commit fbd81ef151
159 changed files with 735 additions and 588 deletions

View File

@@ -271,6 +271,8 @@ int auto_test_c_api(int argc, char** argv)
return -1;
}
end_try;
return -1;
}
@@ -332,7 +334,7 @@ char* DtMmdbHandleToString(DtMmdbHandle* x)
static char buf[100];
if ( x -> oid_ptr) {
oid_t *z = (oid_t*)(x -> oid_ptr);
sprintf(buf, "%d.%d", z -> ccode(), (int)z -> icode());
snprintf(buf, sizeof(buf), "%d.%d", z -> ccode(), (int)z -> icode());
} else
buf[0] = 0;