diff options
author | Thomas G. Lockhart | 1998-11-04 16:24:32 +0000 |
---|---|---|
committer | Thomas G. Lockhart | 1998-11-04 16:24:32 +0000 |
commit | 45849651d0ef97a8fe9128701a380ee10dbc3a58 (patch) | |
tree | 5da730127755e642bdaa126609c0ecf252063367 /results.c | |
parent | 2325d600dc6b6c8450d5160e0c369d06ff70c81b (diff) |
Test for and handle NULL arguments to mylog() print statements.REL6_4
Include definition for _IN_ADDR_T if INADDR_NONE is not defined.
Diffstat (limited to 'results.c')
-rw-r--r-- | results.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -855,7 +855,7 @@ mylog("SQLFetch: stmt = %u, stmt->result= %u\n", stmt, stmt->result); value = QR_get_value_backend_row(res, stmt->currTuple, lf); } - mylog("value = '%s'\n", value); + mylog("value = '%s'\n", (value==NULL)?"<NULL>":value); retval = copy_and_convert_field_bindinfo(stmt, type, value, lf); |