Changeset 15864
- Timestamp:
- Dec 16, 2007, 12:21:38 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmDetrendDB.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmDetrendDB.c
r15812 r15864 266 266 goto failure; 267 267 } 268 status = psIOBufferReadEmpty (buffer, 100, pipe->fd_stdout); 268 269 // timeout somewhat longer than 2sec. this could still be too short.... 270 status = psIOBufferReadEmpty (buffer, 2000, pipe->fd_stdout); 269 271 if (!status) { 270 272 psError (PS_ERR_IO, false, "detselect is not responding"); … … 278 280 279 281 psTrace("psModules.detrend", 5, "got answer: %s\n", buffer->data); 282 283 if (!buffer->n) { 284 psLogMsg ("psModule.detrend", PS_LOG_ERROR, "detselect response (%d bytes):\n %s\n", buffer->n, buffer->data); 285 psError(PS_ERR_IO, true, "no matching detrend data in database\n"); 286 goto failure; 287 } 280 288 281 289 psMetadata *answer = psMetadataConfigParse (NULL, &nFail, buffer->data, false);
Note:
See TracChangeset
for help on using the changeset viewer.
