Changeset 28249 for trunk/ippToPsps/src/ippToPspsConfig.c
- Timestamp:
- Jun 7, 2010, 2:58:52 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/src/ippToPspsConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/src/ippToPspsConfig.c
r27779 r28249 325 325 326 326 return ret; 327 } 328 329 // gets survey ID from survey name 330 bool ippToPspsConfig_getSurveyId(IppToPspsConfig* this, const char* surveyType, int8_t* surveyId) { 331 332 char buffer[10]; 333 if (!ippToPspsConfig_getInitValue(this, "Survey", "name", surveyType, "surveyID", buffer)) { 334 335 *surveyId = -1; 336 return false; 337 } 338 339 *surveyId = atoi(buffer); 340 return true; 327 341 } 328 342
Note:
See TracChangeset
for help on using the changeset viewer.
