version 1.1.1.1, 2025/01/19 02:04:04
|
version 1.3, 2025/03/09 15:20:18
|
Line 15
|
Line 15
|
* ^$DEVICE ssv |
* ^$DEVICE ssv |
* |
* |
* |
* |
* Author: Serena Willis <jpw@coherent-logic.com> |
* Author: Serena Willis <snw@coherent-logic.com> |
* Copyright (C) 1998 MUG Deutschland |
* Copyright (C) 1998 MUG Deutschland |
* Copyright (C) 2020 Coherent Logic Development LLC |
* Copyright (C) 2020 Coherent Logic Development LLC |
* |
* |
Line 197 void ssvn_device(short action, char *key
|
Line 197 void ssvn_device(short action, char *key
|
break; |
break; |
} |
} |
else if (strcmp (r->subscripts[1], "NAME") == 0) { |
else if (strcmp (r->subscripts[1], "NAME") == 0) { |
sprintf (data, dev[channel]); |
sprintf (data, "%s", dev[channel]); |
break; |
break; |
} |
} |
else if (strcmp (r->subscripts[1], "TYPE") == 0) { |
else if (strcmp (r->subscripts[1], "TYPE") == 0) { |
Line 223 void ssvn_device(short action, char *key
|
Line 223 void ssvn_device(short action, char *key
|
fstat (fd, &s); |
fstat (fd, &s); |
siz = s.st_size; |
siz = s.st_size; |
|
|
sprintf (data, "%ld\201", siz); |
sprintf (data, "%ld\201", (long) siz); |
|
|
break; |
break; |
|
|