~ubuntu-branches/ubuntu/precise/ncbi-tools6/precise

« back to all changes in this revision

Viewing changes to network/suggest/client/suggapi.c

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   08/14/95
31
31
*
32
 
* $Revision: 6.0 $
 
32
* $Revision: 6.1 $
33
33
*
34
34
* File Description: 
35
35
*       Implementation of API for Suggest service
210
210
 *
211
211
 * Return:
212
212
 *      pointer to SeqAnnot structure which will contain the result of
213
 
 *      the processing or NULL if error occured.
 
213
 *      the processing or NULL if error occurred.
214
214
 *
215
215
 * Note:
216
216
 *      SuggestResponse structure can contain an error from Suggest Server, so
250
250
        return NULL;
251
251
 
252
252
    if (pResp->choice == SuggestResponse_error) {
253
 
        /* Error occured on server's side, report it
 
253
        /* Error occurred on server's side, report it
254
254
         */
255
255
        ErrorFromServer(pResp->data.ptrvalue);
256
256
        SuggestResponseFree(pResp);