/[jscoverage]/tags/jscoverage-0.4/jscoverage-server.c
ViewVC logotype

Diff of /tags/jscoverage-0.4/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 317 by siliconforks, Tue Oct 14 01:28:46 2008 UTC
# Line 444  Line 444 
444      case '\t':      case '\t':
445        fputs("\\t", f);        fputs("\\t", f);
446        break;        break;
447        /* IE doesn't support this */
448        /*
449      case '\v':      case '\v':
450        fputs("\\v", f);        fputs("\\v", f);
451        break;        break;
452        */
453      case '"':      case '"':
454        fputs("\\\"", f);        fputs("\\\"", f);
455        break;        break;
# Line 853  Line 856 
856      free(encoding);      free(encoding);
857      Stream_delete(input_stream);      Stream_delete(input_stream);
858      if (result == JSCOVERAGE_ERROR_ENCODING_NOT_SUPPORTED) {      if (result == JSCOVERAGE_ERROR_ENCODING_NOT_SUPPORTED) {
859        send_response(client_exchange, 502, "Encoding not supported\n");        send_response(client_exchange, 500, "Encoding not supported\n");
860        goto done;        goto done;
861      }      }
862      else if (result == JSCOVERAGE_ERROR_INVALID_BYTE_SEQUENCE) {      else if (result == JSCOVERAGE_ERROR_INVALID_BYTE_SEQUENCE) {
# Line 1111  Line 1114 
1114        exit(EXIT_SUCCESS);        exit(EXIT_SUCCESS);
1115      }      }
1116      else if (strcmp(argv[i], "-V") == 0 || strcmp(argv[i], "--version") == 0) {      else if (strcmp(argv[i], "-V") == 0 || strcmp(argv[i], "--version") == 0) {
1117        printf("jscoverage-server %s\n", VERSION);        version();
       exit(EXIT_SUCCESS);  
1118      }      }
1119      else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {      else if (strcmp(argv[i], "-v") == 0 || strcmp(argv[i], "--verbose") == 0) {
1120        verbose = 1;        verbose = 1;

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

  ViewVC Help
Powered by ViewVC 1.1.24