summaryrefslogtreecommitdiff
path: root/ext/muscat
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-26 08:35:48 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-26 08:35:48 +0000
commit21f2b9277ff3a878ca57559b96e692f3551320b8 (patch)
tree2531c27273ebcf5c475ebc92979134ed89929185 /ext/muscat
parentb0468809ff52a10653718cc47e8a760b8ac1b0ad (diff)
downloadphp-git-21f2b9277ff3a878ca57559b96e692f3551320b8.tar.gz
3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now.
Diffstat (limited to 'ext/muscat')
-rw-r--r--ext/muscat/muscat_net.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/muscat/muscat_net.c b/ext/muscat/muscat_net.c
index a480d2414d..c053951ddc 100644
--- a/ext/muscat/muscat_net.c
+++ b/ext/muscat/muscat_net.c
@@ -40,7 +40,7 @@ int _net_muscat_close(struct MuscatNet_handle *handle) {
}
int _net_muscat_give(struct MuscatNet_handle *handle, char* string) {
- handle->Z_TYPE(muscat_response)=' ';
+ Z_TYPE(handle->muscat_response)=' ';
SOCK_WRITEL(string,strlen(string),handle->socketd);
SOCK_WRITEL("\n",1,handle->socketd);
}
@@ -52,7 +52,7 @@ int _net_muscat_get(struct MuscatNet_handle * handle) {
int clen;
int rlen;
- if (handle->Z_TYPE(muscat_response) == 'P') return GIVING;
+ if (Z_TYPE(handle->muscat_response) == 'P') return GIVING;
// we can use bcom ourselves!!!
// read in the 6 byte header...
@@ -66,7 +66,7 @@ int _net_muscat_get(struct MuscatNet_handle * handle) {
return 1; // NEED TO RAISE ERROR HERE
}
handle->muscat_response.bcom[5]=0;
- handle->Z_TYPE(muscat_response)=handle->muscat_response.bcom[0];
+ Z_TYPE(handle->muscat_response)=handle->muscat_response.bcom[0];
// now read bcom[1-4] and turn to an int
clen=atoi(&(handle->muscat_response.bcom[1]))+1;
@@ -83,7 +83,7 @@ int _net_muscat_get(struct MuscatNet_handle * handle) {
}
void _net_discard(struct MuscatNet_handle * handle) {
- while(handle->Z_TYPE(muscat_response)!='P') {
+ while(Z_TYPE(handle->muscat_response)!='P') {
if (0!=_net_muscat_get(handle)) break;
}
}