Skip to content
Snippets Groups Projects
Commit 8932e377 authored by rswindell's avatar rswindell
Browse files

Eliminated GCC/GLIBC warnings.

parent 771156ad
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,7 @@
/* ANSI */
#include <time.h> /* time */
#include <errno.h> /* errno */
#include <string.h> /* strrchr */
#include "smblib.h"
#include "smbwrap.h"
......@@ -205,7 +206,7 @@ if(smb.status.max_crcs) {
msg.hdr.offset=offset;
printf("To User Name: ");
gets(str);
fgets(str,sizeof(str)-1,stdin);
i=smb_hfield(&msg,RECIPIENT,(ushort)strlen(str),str);
if(i) {
printf("\n\7!smb_hfield returned %d\n",i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment