Changeset 383 in svn


Ignore:
Timestamp:
2007-05-15T05:54:55+02:00 (8 years ago)
Author:
Xuefer
Message:

ws fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r376 r383  
    26102610static void xc_zend_extension_register(zend_extension *new_extension, DL_HANDLE handle)
    26112611{
    2612     zend_extension extension;
    2613 
    2614     extension = *new_extension;
    2615     extension.handle = handle;
    2616 
    2617     zend_extension_dispatch_message(ZEND_EXTMSG_NEW_EXTENSION, &extension);
    2618 
    2619     zend_llist_prepend_element(&zend_extensions, &extension);
     2612    zend_extension extension;
     2613
     2614    extension = *new_extension;
     2615    extension.handle = handle;
     2616
     2617    zend_extension_dispatch_message(ZEND_EXTMSG_NEW_EXTENSION, &extension);
     2618
     2619    zend_llist_prepend_element(&zend_extensions, &extension);
    26202620    TRACE("%s", "registered");
    26212621}
     
    26232623static int xc_zend_extension_startup(zend_extension *extension)
    26242624{
    2625     if (extension->startup) {
    2626         if (extension->startup(extension) != SUCCESS) {
     2625    if (extension->startup) {
     2626        if (extension->startup(extension) != SUCCESS) {
    26272627            return FAILURE;
    2628         }
    2629     }
     2628        }
     2629    }
    26302630    return SUCCESS;
    26312631}
Note: See TracChangeset for help on using the changeset viewer.