/[jscoverage]/trunk/jscoverage-server.c
ViewVC logotype

Diff of /trunk/jscoverage-server.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 278 by siliconforks, Sat Oct 11 22:38:50 2008 UTC revision 312 by siliconforks, Mon Oct 13 17:52:01 2008 UTC
# Line 853  Line 853 
853      free(encoding);      free(encoding);
854      Stream_delete(input_stream);      Stream_delete(input_stream);
855      if (result == JSCOVERAGE_ERROR_ENCODING_NOT_SUPPORTED) {      if (result == JSCOVERAGE_ERROR_ENCODING_NOT_SUPPORTED) {
856        send_response(client_exchange, 502, "Encoding not supported\n");        send_response(client_exchange, 500, "Encoding not supported\n");
857        goto done;        goto done;
858      }      }
859      else if (result == JSCOVERAGE_ERROR_INVALID_BYTE_SEQUENCE) {      else if (result == JSCOVERAGE_ERROR_INVALID_BYTE_SEQUENCE) {
# Line 1111  Line 1111 
1111        exit(EXIT_SUCCESS);        exit(EXIT_SUCCESS);
1112      }      }
1113      else if (strcmp(argv[i], "-V") == 0 || strcmp(argv[i], "--version") == 0) {      else if (strcmp(argv[i], "-V") == 0 || strcmp(argv[i], "--version") == 0) {
1114        printf("jscoverage-server %s\n", VERSION);        version();
       exit(EXIT_SUCCESS);  
1115      }      }
1116      else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {      else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
1117        verbose = 1;        verbose = 1;

Legend:
Removed from v.278  
changed lines
  Added in v.312

  ViewVC Help
Powered by ViewVC 1.1.24