/[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 253 by siliconforks, Sun Oct 5 18:09:02 2008 UTC revision 255 by siliconforks, Sun Oct 5 18:10:10 2008 UTC
# Line 852  Line 852 
852      free(encoding);      free(encoding);
853      Stream_delete(input_stream);      Stream_delete(input_stream);
854      if (result == JSCOVERAGE_ERROR_ENCODING_NOT_SUPPORTED) {      if (result == JSCOVERAGE_ERROR_ENCODING_NOT_SUPPORTED) {
       free(characters);  
855        send_response(client_exchange, 502, "Encoding not supported\n");        send_response(client_exchange, 502, "Encoding not supported\n");
856        goto done;        goto done;
857      }      }
858      else if (result == JSCOVERAGE_ERROR_INVALID_BYTE_SEQUENCE) {      else if (result == JSCOVERAGE_ERROR_INVALID_BYTE_SEQUENCE) {
       free(characters);  
859        send_response(client_exchange, 502, "Error decoding response\n");        send_response(client_exchange, 502, "Error decoding response\n");
860        goto done;        goto done;
861      }      }

Legend:
Removed from v.253  
changed lines
  Added in v.255

  ViewVC Help
Powered by ViewVC 1.1.24