Changeset 10707
- Timestamp:
- 2005-10-07T10:45:29+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/yaz_zclient.c
r10440 r10707 810 810 } 811 811 812 static int cmd_open(const char *arg) 813 { 814 if (arg) 815 { 816 strncpy (cur_host, arg, sizeof(cur_host)-1); 817 cur_host[sizeof(cur_host)-1] = 0; 818 } 819 return session_connect(cur_host); 820 } 821 812 822 int z_cmd_open(char *host_and_port, char *base) 813 823 { … … 820 830 } 821 831 822 static int cmd_open(const char *arg)823 {824 if (arg)825 {826 strncpy (cur_host, arg, sizeof(cur_host)-1);827 cur_host[sizeof(cur_host)-1] = 0;828 }829 return session_connect(cur_host);830 }831 832 832 833 void try_reconnect()
Note:
See TracChangeset
for help on using the changeset viewer.