ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.1.x/src/libopm/src/libopm.c
(Generate patch)

Comparing hopm/trunk/src/libopm/src/libopm.c (file contents):
Revision 5091 by michael, Tue Dec 23 19:59:18 2014 UTC vs.
Revision 5094 by michael, Tue Dec 23 20:26:04 2014 UTC

# Line 169 | Line 169 | OPM_REMOTE_T *opm_remote_create(const ch
169     if(ip == NULL)
170        return NULL;
171  
172 <   ret->ip = (char*) strdup(ip);  /* replace with custom strdup function */
173 <
172 >   ret->ip = libopm_xstrdup(ip);
173 >
174     ret->port          = 0;
175     ret->protocol      = 0;
176     ret->bytes_read    = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines