]> granicus.if.org Git - curl/commitdiff
re-added the default switch for weird states
authorDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2001 23:29:53 +0000 (23:29 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2001 23:29:53 +0000 (23:29 +0000)
lib/http_chunks.c

index 89c86091839ce6e509e755bdd5fa56ddb5368640..d4badeb9067b1dd4dfe295c5d69d103e75ca7677 100644 (file)
@@ -214,10 +214,8 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
          even if there's no more chunks to read */
       ch->dataleft = length;
       return CHUNKE_STOP; /* return stop */
-#if 0
     default:
       return CHUNKE_STATE_ERROR;
-#endif
     }
   }
   return CHUNKE_OK;