]> granicus.if.org Git - php/commitdiff
fixed compiler warnings.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 27 Feb 2003 23:50:55 +0000 (23:50 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 27 Feb 2003 23:50:55 +0000 (23:50 +0000)
ext/openssl/xp_ssl.c

index eb449274d90c2ccc5eab9a2a18ff2a38487200b4..b22d1f0b5e6415e9ea52c4f0f3aae6ef2a2073d0 100644 (file)
@@ -372,11 +372,14 @@ static int php_openssl_sockop_set_option(php_stream *stream, int option, int val
                                case STREAM_XPORT_CRYPTO_OP_SETUP:
                                        cparam->outputs.returncode = php_openssl_setup_crypto(stream, sslsock, cparam TSRMLS_CC);
                                        return PHP_STREAM_OPTION_RETURN_OK;
+                                       break;
                                case STREAM_XPORT_CRYPTO_OP_ENABLE:
                                        cparam->outputs.returncode = php_openssl_enable_crypto(stream, sslsock, cparam TSRMLS_CC);
                                        return PHP_STREAM_OPTION_RETURN_OK;
+                                       break;
                                default:
                                        /* fall through */
+                                       break;
                        }
 
                        break;
@@ -398,8 +401,10 @@ static int php_openssl_sockop_set_option(php_stream *stream, int option, int val
                                                }
                                        }
                                        return PHP_STREAM_OPTION_RETURN_OK;
+                                       break;
                                default:
                                        /* fall through */
+                                       break;
                        }
        }