diff options
author | Werner Koch <[email protected]> | 2001-12-14 13:43:42 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2001-12-14 13:43:42 +0000 |
commit | 7606e3b33a57016b39b02857a7094e378a245ec3 (patch) | |
tree | efbf689db541926ab5a8683e2c39a4e4793e93d4 /sm/server.c | |
parent | * util.h (digitp, hexdigitp): New ctype like macros. (diff) | |
download | gnupg-7606e3b33a57016b39b02857a7094e378a245ec3.tar.gz gnupg-7606e3b33a57016b39b02857a7094e378a245ec3.zip |
* util.h (digitp, hexdigitp): New ctype like macros.
(atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
* command.c: Removed the conversion macros as they are now in
../common/util.h.
Diffstat (limited to '')
-rw-r--r-- | sm/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/server.c b/sm/server.c index 59a40eae7..a4c06318b 100644 --- a/sm/server.c +++ b/sm/server.c @@ -316,7 +316,7 @@ cmd_message (ASSUAN_CONTEXT ctx, char *line) if (strncmp (line, "FD=", 3)) return set_error (Syntax_Error, "FD=<n> expected"); line += 3; - if (!digitp (*line)) + if (!digitp (line)) return set_error (Syntax_Error, "number required"); fd = strtoul (line, &endp, 10); if (*endp) |