ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/ihost/ihost.c
(Generate patch)

Comparing projects/cms/source/ihost/ihost.c (file contents):
Revision 1.44 by pajs, Mon Jan 5 15:22:17 2004 UTC vs.
Revision 1.45 by tdb, Mon Jan 5 16:47:09 2004 UTC

# Line 170 | Line 170 | void log_msg(int level, char *format, ...){
170          }
171   }
172  
173 /* Takes many pointers, checks if they are NULL or not, and then free's them */
174 /* Deprciated - and i only wrote it today! :)
175 void m_free(int num_pointers, ...){
176        int x=0;
177        va_list ap;
178        void *p;
179
180        va_start(ap, num_pointers);
181        for(;x<num_pointers;x++){
182                p=va_arg(ap, void*);
183                if(p!=NULL){
184                        free(p);
185                }
186        }
187        va_end(ap);
188 }
189 */
190
173   int create_udp_sockinfo(udp_sockinfo_t *udp_sockinfo, char *hostname, int port){
174  
175          struct in_addr haddr;
# Line 387 | Line 369 | int ihost_getconfig(ihost_state_t *ihost_state){
369                          goto error;
370                  }
371  
390                /*printf("string : %s\n", response_ptr);*/
372                  server_udp_port=atoi(response_ptr);
373  
374                  if (server_udp_port==0){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines