Skip to content

Commit

Permalink
bump up cc buf sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
decker committed Aug 17, 2011
1 parent c0c1be6 commit 249cb0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/vnetwork.c
Expand Up @@ -1023,7 +1023,7 @@ int vnetSetVlan(vnetConfig *vnetconfig, int vlan, char *uuid, char *user, char *
if (param_check("vnetSetVlan", vnetconfig, vlan, user, network)) return(1);

safe_strncpy(vnetconfig->users[vlan].userName, user, 48);
safe_strncpy(vnetconfig->users[vlan].netName, network, 48);
safe_strncpy(vnetconfig->users[vlan].netName, network, 64);
if (uuid) safe_strncpy(vnetconfig->users[vlan].uuid, uuid, 48);

return(0);
Expand Down
2 changes: 1 addition & 1 deletion net/vnetwork.h
Expand Up @@ -82,7 +82,7 @@ typedef struct netEntry_t {
} netEntry;

typedef struct userEntry_t {
char netName[48];
char netName[64];
char userName[48];
char uuid[48];
} userEntry;
Expand Down

0 comments on commit 249cb0f

Please sign in to comment.