- Timestamp:
- 05/07/13 11:01:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns-rpc.cgi
r500 r502 379 379 } 380 380 381 # fail if we *still* don't have a valid zone ID 382 die $dnsdb->errstr."\n" if !$args{id}; 383 381 384 # and finally retrieve the records. 382 385 my $ret = $dnsdb->getRecList(defrec => $args{defrec}, revrec => $args{revrec}, id => $args{id}, 383 386 offset => $args{offset}, nrecs => $args{nrecs}, sortby => $args{sortby}, 384 387 sortorder => $args{sortorder}, filter => $args{filter}); 385 386 ##fixme: what to do if domain doesn't exist? 387 die $dnsdb->errstr if !$ret; 388 die $dnsdb->errstr."\n" if !$ret; 388 389 389 390 return $ret;
Note:
See TracChangeset
for help on using the changeset viewer.