Changeset 8020 for branches/jhoblitt/ippdb/tests/pop.c
- Timestamp:
- Jul 31, 2006, 3:44:47 PM (20 years ago)
- File:
-
- 1 edited
-
branches/jhoblitt/ippdb/tests/pop.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jhoblitt/ippdb/tests/pop.c
r8006 r8020 221 221 psS32 bytes; 222 222 char md5sum[256]; 223 char class[256]; 224 char class_id[256]; 225 char uri[256]; 226 227 dbh = psDBInit("localhost", "test", NULL, "test"); 228 if (!dbh) { 229 exit(EXIT_FAILURE); 230 } 231 232 if (!pzPendingImfilePop(dbh, (char **)&exp_id, &bytes, (char **)&md5sum, (char **)&class, (char **)&class_id, (char **)&uri)) { 223 char class_id[256]; 224 char uri[256]; 225 226 dbh = psDBInit("localhost", "test", NULL, "test"); 227 if (!dbh) { 228 exit(EXIT_FAILURE); 229 } 230 231 if (!pzPendingImfilePop(dbh, (char **)&exp_id, &bytes, (char **)&md5sum, (char **)&class_id, (char **)&uri)) { 233 232 exit(EXIT_FAILURE); 234 233 } … … 260 259 psDB *dbh; 261 260 char exp_id[256]; 262 char class[256]; 263 char class_id[256]; 264 char uri[256]; 265 266 dbh = psDBInit("localhost", "test", NULL, "test"); 267 if (!dbh) { 268 exit(EXIT_FAILURE); 269 } 270 271 if (!newImfilePop(dbh, (char **)&exp_id, (char **)&class, (char **)&class_id, (char **)&uri)) { 261 char class_id[256]; 262 char uri[256]; 263 264 dbh = psDBInit("localhost", "test", NULL, "test"); 265 if (!dbh) { 266 exit(EXIT_FAILURE); 267 } 268 269 if (!newImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri)) { 272 270 exit(EXIT_FAILURE); 273 271 }
Note:
See TracChangeset
for help on using the changeset viewer.
