- Timestamp:
- Oct 8, 2008 7:33:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/pymolproxy/pymolproxy.c
r1176 r1179 70 70 static int debug = FALSE; 71 71 72 73 72 typedef struct { 74 73 char *data; … … 422 421 423 422 static int 424 getline(int sock, char *buffer, int size, longtimeout)423 getline(int sock, char *buffer, int size, int timeout) 425 424 { 426 425 int pos = 0, status, timeo; … … 480 479 trace("want to match (%s)\n", string); 481 480 while(1) { 482 if (getline(sock,buffer,length, IO_TIMEOUT) == 0) {481 if (getline(sock,buffer,length, IO_TIMEOUT) == 0) { 483 482 pymol->error = 2; 484 483 pymol->status = TCL_ERROR; … … 1025 1024 char fileName[200]; 1026 1025 FILE *f; 1027 s ize_t nBytes, nWritten;1026 ssize_t nBytes, nWritten; 1028 1027 1029 1028 sprintf(fileName, "/tmp/pymol%d.pdb", getpid());
Note: See TracChangeset
for help on using the changeset viewer.