dtinfo subdirectory DtMmdb
This commit is contained in:
committed by
Jon Trulson
parent
0be684281d
commit
fbd81ef151
@@ -156,7 +156,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(), z -> icode());
|
||||
snprintf(buf, sizeof(buf), "%d.%d", z -> ccode(), z -> icode());
|
||||
} else
|
||||
buf[0] = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user